Video description
SpecFlow is a framework that brings Behavior-Driven Development (BDD) into life. It is all about filling the gap between technical people and domain experts. SpecFlow is based on the Gherkin language. So, non-technical people can write executable documentation on their own.
Selenium is a framework that drives browsers (Chrome, Firefox, Opera, and more). In other words, with the power of Selenium, you can write a program that automatically interacts with elements on a web page.
TestStack.White (sometimes, written called teststack white) is a framework drives WinForms and WPF applications.
This course covers:
•Theoretical background behind different types of testing (unit, integration, and acceptance testing)
•SpecFlow: generating steps, running and debugging tests, passing parameters, scenario outlines, data tables, converting parameters, converting data tables, custom conversions, sharing data, categorizing tests, scoped execution, hooks, and other features
•Selenium WebDriver: Locators, XPath locators, CSS locators, interacting with all element types, timeouts (explicit and implicit), locator priorities, picking scenarios to Test, the Page Object design pattern, the Page Object factory, uploading files, and more
•Scraping a live website with Selenium WebDriver
•Selenium Extras: managing a web browser
•TestStack.White and building a WPF app by TDD (with MVVM)
•Appendices: intro to unit testing and test-driven development
What You Will Learn
- Build end-to-end tests to grow reliable software
- TestStack.White and building a WPF app by TDD (with MVVM)
- Appendices: intro to unit testing and Test-Driven Development
- Automate WPF applications
Audience
This course is for middle-level developers who require a proficiency in C#
About The Author
ENGINEERSPOCK EDUCATION LLC: Ilya Fofanov began his career as a postgraduate student participating in the Microsoft ImagineCup contest. He's been working with the .NET platform since 2003 and has been professionally architecting and implementing software for nearly 7 years, primarily based on the .NET platform. He is passionate about building rich and powerful applications using modern technologies. Ilya is a Microsoft-certified specialist in Windows Applications and Service Communication Applications and one of the coordinators of the MskDotNet User Group in Moscow.
Table of contents
- Chapter 1 : Introduction to Integration and Acceptance Testing
- Chapter 2 : Introduction to SpecFlow
-
Chapter 3 : SpecFlow in Details
- Outline
- Generating Steps in Details
- Overview of Example
- Writing the First Test
- Running and Debugging Tests
- Adding New Cases
- Passing Parameters
- Scenario Outline
- Passing Data Table
- Scenario Background
- Converting Parameter Types
- Converting Tables into Plain Data Structures
- Converting Tables into Sets
- Custom Conversions
- Sharing Data Between Steps
- Categorizing Tests by Tags
- Scoped Execution
- Scoped Binding and Workflow
- Hooks Overview
- Applying a Hook
- Conclusion
-
Chapter 4 : Introduction to Selenium
- Selenium Overview
- Demo Web Site
- Writing the First Automation Example
- Locator Types
- XPath Selectors
- CSS Selectors
- Input, CheckBox, RadioButton, DropDown
- Dynamic Nature of Modern Web Sites
- Timeouts: Implicit and Explicit
- Locators Priority
- Which Scenario to Test
- SpecFlow and UI-Testing Frameworks
- Conclusion
- Chapter 5 : Selenium: Scraping a Live Web Site
- Chapter 6 : Selenium Extras
- Chapter 7 : TestStack.White and WPF App by TDD
- Chapter 8 : Appendix A. Introduction to Unit Testing. Getting Started
-
Chapter 9 : Appendix A. Introduction to Unit Testing. NUnit Framework
- Outline
- Assert. Introduction
- Assert. Demo
- Arrange-Act-Assert
- Running a Test from the Console
- SetUp and TearDown
- SetUp and TearDown on Higher Levels
- Parameterized Tests
- Grouping and Ignoring
- Code Coverage
- Exercise: FizzBuzz
- Solution: FizzBuzz
- Exercise: Roman Numerals
- Solution: Roman Numerals
- Conclusion
- Chapter 10 : Appendix B. Introduction to TDD. Part 1
- Chapter 11 : Appendix B. Introduction to TDD. Part 2
Product information
- Title: Automate Application with Specflow and Selenium WebDriver C#
- Author(s):
- Release date: February 2020
- Publisher(s): Packt Publishing
- ISBN: 9781800208964
You might also like
book
Hands-On Selenium WebDriver with Java
Get started with Selenium WebDriver, the open source library for automating tests to ensure your web …
video
Learn Selenium WebDriver with Java
This course is designed to guide you through Selenium WebDriver and Java, right from the basic …
video
Selenium Fundamentals
We’ll begin this course by understanding the importance of automating tests. Then, we will learn how …
video
Selenium WebDriver 4 with Java - Zero To Hero
Selenium WebDriver is an open-source automation tool that works easily across multiple OS and browsers and …