Selenium WebDriver C# .NET
About the Course
This course covers all the essential principles of using the Selenium WebDriver automation framework in Microsoft Visual Studio.
Designed for beginners as well as testers with previous automation experience.
Throughout the course practical examples are demonstrated, and the delegates get to practice what they have learned in each chapter against a Web training application.
The Selenium course that takes you from beginner through to writing effective automated tests in WebDriver .NET.
Recommended for anyone new to Selenium
A basic understanding of HTML and how Web Pages are developed
Some programming experience would be advantageous
understand the key principles of test automation using Selenium WebDriver
understand how to structure your automated testing including the Page Object Model
gain a full understanding of how Selenium integrates with the Application Under Test
Understand how to integrate with other tools such as Git & Jenkins
Syllabus - Key points
Introduction to WebDriver
An overview of the Selenium tools, Unit testing Frameworks, and Supported Browsers.
Installation & Setup
Libraries & Extensions in VS, using NuGet to install the required libraries. How to organise your file structure.
First Test Case
Creating our initial NUnit Test, the import statements, invoking a browser, writing to the console, writing a simple script against the Web Site
Element locator strategies, Chrome Developer Tools and other extensions, Regular Expressions, Index, Xpath functions
Recording & Exporting Scripts
What is Synchronisation, Adding Delay, Implicit versus Explicit Waits, common example
Capturing Values and Validation
How to capture values from the Web Site, Using Asserts, Execution Flow, Debugging Tools
How to build more than one test, in a single Class, NUnit Fixtures, Execution Order, NUnit Traits/Categories, Playlists
Creating a Test Base Class to use through Inheritance for SetUp & TearDown
Reusable code, Common examples such as Handling Alerts & Pop-ups
Console reporting, Taking Screenshots, Creating Dynamic HTML Results with Extent Reports
Handling differences between Browsers, Tips for Edge & IE Browsers
Data driving your Tests using In-Line Test Data, using external sources such as CSV files
Introducing Page Objects (POM)
Refactoring our tests to use a page object model. Developing a library of pages (POMs). Fluent Coding.
Using Application config files to store global values
Command Line Execution
Command-line execution with the NUnit Console Runner
Integrating with Git & GitHub
Integrating with Jenkins for C.I