- 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 intergrates with the Application Under Test
- Understand how to manage Object Recognition, using techniques such as Xpath and CSS
- By the end of the course you should have a thorough understanding of how to develop reliable, robust Selenium Web Tests using Selenium WebDriver and other tools
- A basic understanding of HTML and how Web Pages are developed
- Some programming experience would be advantageous - The course is based on using WebDriver C# .NET, but does not teach you C# as you can use a variety of programming languages with WebDriver.
Introduction to WebDriver
An overview of the Selenium tools, Unit testing Frameworks, and Supported Browsers.
Installation & Setup
Libraries & Extensions in VS2015, 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 the code to login to the Web Site
Element locator strategies, Chrome Developer Tools and other extensions, Regular Expressions, index, Xpath functions
Capturing Values and Validation
How to capture values from the Web Site, Using Asserts, Execution Flow
What is Synchronisation, Implicit versus Explicit Waits, common examples
How to build more than one test, in a single Class, Nunit Fixtures, Nunit Traits/Categories, Playlists
Reusable code, Common examples such as Handling Alerts & Pop-ups
Introducing Page Objects (POM)
Introduction to why we do it and how it reduces maintenance. Refactoring our tests to use a page ob-ject model. Developing a library of pages (POMs)
Data driving your Tests using CSV files
Command-line execution with the Nunit Console Runner
Microsoft Visual Studio 2015