4.1 out of 5
4.1
16 reviews on Udemy

Automate Application with Specflow and Selenium WebDriver C#

BDD with SpecFlow (based on Gherkin) and Selenium WebDriver with C# + Intro to UnitTesting and TDD with TestStack.White
Instructor:
Engineer Spock
195 students enrolled
English [Auto-generated]
Write business-readable automated tests with SpecFlow
Write maintainable tests with SpecFlow
Automate Web Sites with Selenium
Write RELIABLE automation code with Selenium
Automate WPF applications
Apply test-driven approach for growing software

This course is all about growing object-oriented software guided by tests.

SpecFlow is a framework which brings Behavior-Driven Development (BDD) into life. It is all about filling the gap between technical people and domain experts. SpecFlow is based of a Gherkin language which is very close to natural (though, it is formalized). So, non-technical people can write executable documentation on their own.

Selenium is a framework which allows to drive browsers (Chrome, Firefox, Opera etc.). In other words, with the power of Selenium, you can write a program which automatically interacts with elements on a web page.

TestStack.White (sometimes, written as “teststack white”) is a framework which allows to drive WinForms and WPF applications.

This course covers:

  • Theoretical background behind different types of testing (unit, integration, and acceptance testing)

  • SpecFlow: generating steps, run and debug tests, passing parameters, scenario outline, data table, converting parameters, converting data table, custom conversions, sharing data, categorizing tests, scoped execution, hooks and other features

  • Selenium WebDriver: Locators, XPath Locators, CSS Locators, Interacting with all the types of Elements, Timeouts: Explicit and Implicit, Locators Priority, Picking Scenarios to Test, “Page Object” design pattern, Page Object Factory, uploading files

  • Scraping a Live Web Site with Selenium WebDriver

  • Selenium Extras: managing a web browser

  • TestStack.White and Building a WPF App by TDD (with MVVM)

  • Appendixes: intro to Unit Testing and Test-Driven Development

Introduction to Integration and Acceptance Testing

1
How to Ask Questions
2
Source Code
3
Outline
4
Types of Tests and TDD
5
Integration and UI Testing
6
Are Integration Tests Pure Evil?
7
Why Write Automated UI-Tests?
8
What is Acceptance Testing?
9
Acceptance and UI-Automation Testing Frameworks
10
Conclusion

Introduction to SpecFlow

1
Outline
2
Why Use SpecFlow
3
BDD vs ATDD
4
SpecFlow Workflow
5
Overview of SpecFlow
6
Gherkin. Features and Scenarios
7
Basics of SpecFlow
8
Two Approaches to Implementation of Acceptance Tests
9
Conclusion

SpecFlow in Details

1
Outline
2
Generating Steps in Details
3
Overview of Example
4
Writing the First Test
5
Running and Debugging Tests
6
Adding New Cases
7
Passing Parameters
8
Scenario Outline
9
Passing Data Table
10
Scenario Background
11
Converting Parameter Types
12
Converting Tables into Plain Data Structures
13
Converting Tables into Sets
14
Custom Conversions
15
Sharing Data Between Steps
16
Categorizing Tests by Tags
17
Scoped Execution
18
Scoped Binding and Workflow
19
Hooks Overview
20
Applying a Hook
21
Conclusion

Introduction to Selenium

1
Selenium Overview
2
Demo Web Site
3
Writing the First Automation Example
4
Locator Types
5
XPath Selectors
6
CSS Selectors
7
Input, CheckBox, RadioButton, DropDown
8
Dynamic Nature of Modern Web Sites
9
Timeouts: Implicit and Explicit
10
Locators Priority
11
Which Scenario to Test
12
SpecFlow and UI-Testing Frameworks
13
Conclusion

Selenium: Scraping a Live Web Site

1
Outline
2
Web Site Overview
3
Setting Up a Project
4
Sign-In Page
5
"Page Object" Design Pattern
6
Enhancing "Page Object" Design Pattern
7
Refactoring with "Page Object"
8
Uploading Files - Preparation
9
Uploading Files - Coding
10
Conclusion

Selenium Extras

1
Outline
2
Writing Tests for Different Browsers
3
Location and Size
4
Opening Tabs and Windows
5
Switching and Closing Tabs and Windows
6
Conclusion

TestStack.White and WPF App by TDD

1
Outline
2
Application Overview
3
TestStack.White Overview
4
Download Source Code
5
Writing Acceptance Tests
6
Building a Bridge to User Interface Applying "Page Object" Design Pattern
7
Implementing Acceptance Tests
8
Implementing ViewModels using TDD. Part 1
9
Implementing ViewModels using TDD. Part 2
10
Conclusion

Appendix A. Introduction to Unit Testing. Getting Started

1
Outline
2
What is a Unit Test
3
Unit-Testing Frameworks
4
First Unit Test
5
Naming Conventions
6
Running and Debugging Tests in Visual Studio
7
Benefits of Unit Testing
8
Who should write Unit Tests and When?
9
Programmer's Oath
10
Exercise: Stack
11
Solution: Stack
12
Conclusion

Appendix A. Introduction to Unit Testing. NUnit Framework

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.1
4.1 out of 5
16 Ratings

Detailed Rating

Stars 5
6
Stars 4
4
Stars 3
4
Stars 2
1
Stars 1
1
20e54ac6271daab9d53b8136b5a53aee
30-Day Money-Back Guarantee

Includes

14 hours on-demand video
5 articles
Full lifetime access
Access on mobile and TV
Certificate of Completion