Automate Application with Specflow and Selenium WebDriver C#
Video description
Learn BDD with SpecFlow (based on Gherkin) and Selenium WebDriver with C# along with an Intro to UnitTesting and TDD with TestStack.White
About This Video
Automate websites and write reliable automation code with Selenium
Learn to write business-readable automated tests and maintainable tests with SpecFlow and apply a test-driven approach to grow software
A practical course designed for middle-level developers who …
Automate Application with Specflow and Selenium WebDriver C#
Video description
Learn BDD with SpecFlow (based on Gherkin) and Selenium WebDriver with C# along with an Intro to UnitTesting and TDD with TestStack.White
About This Video
Automate websites and write reliable automation code with Selenium
Learn to write business-readable automated tests and maintainable tests with SpecFlow and apply a test-driven approach to grow software
A practical course designed for middle-level developers who require a proficiency in C#
In Detail
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
Chapter 1 : Introduction to Integration and Acceptance Testing
Outline
00:01:30
Types of Tests and TDD
00:04:45
Integration and UI Testing
00:01:55
Are Integration Tests Pure Evil?
00:04:18
Why Write Automated UI-Tests?
00:03:02
What is Acceptance Testing?
00:02:21
Acceptance and UI-Automation Testing Frameworks
00:01:34
Conclusion
00:01:15
Chapter 2 : Introduction to SpecFlow
Outline
00:00:57
Why Use SpecFlow
00:02:59
BDD vs ATDD
00:01:31
SpecFlow Workflow
00:02:24
Overview of SpecFlow
00:01:43
Gherkin. Features and Scenarios
00:03:29
Basics of SpecFlow
00:09:27
Two Approaches to Implementation of Acceptance Tests
00:03:23
Conclusion
00:01:04
Chapter 3 : SpecFlow in Details
Outline
00:01:22
Generating Steps in Details
00:03:31
Overview of Example
00:01:25
Writing the First Test
00:04:38
Running and Debugging Tests
00:03:20
Adding New Cases
00:04:15
Passing Parameters
00:06:35
Scenario Outline
00:05:33
Passing Data Table
00:08:17
Scenario Background
00:02:29
Converting Parameter Types
00:02:02
Converting Tables into Plain Data Structures
00:06:31
Converting Tables into Sets
00:09:15
Custom Conversions
00:13:18
Sharing Data Between Steps
00:10:50
Categorizing Tests by Tags
00:03:56
Scoped Execution
00:08:57
Scoped Binding and Workflow
00:04:38
Hooks Overview
00:04:41
Applying a Hook
00:06:12
Conclusion
00:02:03
Chapter 4 : Introduction to Selenium
Selenium Overview
00:03:22
Demo Web Site
00:02:03
Writing the First Automation Example
00:08:01
Locator Types
00:10:52
XPath Selectors
00:14:04
CSS Selectors
00:08:18
Input, CheckBox, RadioButton, DropDown
00:20:12
Dynamic Nature of Modern Web Sites
00:02:01
Timeouts: Implicit and Explicit
00:06:04
Locators Priority
00:02:41
Which Scenario to Test
00:00:59
SpecFlow and UI-Testing Frameworks
00:02:56
Conclusion
00:01:12
Chapter 5 : Selenium: Scraping a Live Web Site
Outline
00:01:22
Web Site Overview
00:05:09
Setting Up a Project
00:03:55
Sign-In Page
00:06:51
“Page Object” Design Pattern
00:10:31
Enhancing “Page Object” Design Pattern
00:16:16
Refactoring with “Page Object”
00:08:21
Uploading Files - Preparation
00:04:33
Uploading Files - Coding
00:26:53
Conclusion
00:01:34
Chapter 6 : Selenium Extras
Outline
00:00:46
Writing Tests for Different Browsers
00:10:08
Location and Size
00:04:15
Opening Tabs and Windows
00:05:31
Switching and Closing Tabs and Windows
00:04:53
Conclusion
00:01:18
Chapter 7 : TestStack.White and WPF App by TDD
Outline
00:02:18
Application Overview
00:09:00
TestStack.White Overview
00:03:48
Writing Acceptance Tests
00:14:58
Building a Bridge to User Interface Applying “Page Object” Design Pattern
00:19:53
Implementing Acceptance Tests
00:26:38
Implementing ViewModels using TDD. Part 1
1:08:23
Implementing ViewModels using TDD. Part 2
00:23:38
Conclusion
00:01:38
Chapter 8 : Appendix A. Introduction to Unit Testing. Getting Started
Outline
00:00:58
What is a Unit Test?
00:03:10
Unit-Testing Frameworks
00:03:19
First Unit Test
00:08:50
Naming Conventions
00:04:34
Running and Debugging Tests in Visual Studio
00:05:02
Benefits of Unit Testing
00:03:33
Who should write Unit Tests and When?
00:02:48
Programmer’s Oath
00:03:14
Exercise: Stack
00:01:30
Solution: Stack
00:06:31
Conclusion
00:01:15
Chapter 9 : Appendix A. Introduction to Unit Testing. NUnit Framework
Outline
00:01:02
Assert. Introduction
00:05:30
Assert. Demo
00:10:27
Arrange-Act-Assert
00:00:58
Running a Test from the Console
00:01:51
SetUp and TearDown
00:05:09
SetUp and TearDown on Higher Levels
00:02:14
Parameterized Tests
00:03:40
Grouping and Ignoring
00:02:14
Code Coverage
00:01:42
Exercise: FizzBuzz
00:01:08
Solution: FizzBuzz
00:05:06
Exercise: Roman Numerals
00:02:27
Solution: Roman Numerals
00:09:27
Conclusion
00:01:25
Chapter 10 : Appendix B. Introduction to TDD. Part 1
Outline
00:01:06
Why we need TDD?
00:16:19
What is TDD?
00:04:59
Red / Green / Refactor
00:04:16
Three Laws of TDD
00:01:42
Changing Requirements and the Safety Net
00:05:24
F.I.R.S.T.
00:02:48
Testing Frameworks and Tools
00:05:07
When TDD Fails?
00:02:46
Conclusion
00:02:02
Chapter 11 : Appendix B. Introduction to TDD. Part 2
Outline
00:01:46
Regular Agile Process in 200 Words
00:01:59
VS and R# Shortcuts
00:03:45
Fibonacci Numbers
00:07:38
Three Main TDD Techniques
00:04:32
Grabbing the Gold
00:03:10
FizzBuzz
00:11:06
Reading Roman Numerals
00:12:08
UpdateableSpin
00:17:50
Continuous Testing
00:03:57
Tic-Tac-Toe (Crosses and Noughts)
00:36:18
Assert First
00:01:26
Demo - Sticks
00:32:17
Conclusion
00:01:37
Start your Free Trial Self paced Go to the Course We have partnered with providers to bring you collection of courses, When you buy through links on our site, we may earn an affiliate commission from provider.
This site uses cookies. By continuing to use this website, you agree to their use.I Accept