Selenium WebDriver C#
Course
In London-City
Description
-
Type
Course
-
Location
London-city
This introductory 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, it takes the new-comer to Selenium through all the basic techniques of writing effective automated web tests. 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. Key Technologies used Microsoft Visual Studio 2015, Nunit 3, WebDriver 3 Target Audience The introductory course that takes you from beginner through to writing effective automated tests in Selenium WebDriver .NET Recommended for anyone new to Selenium Learning Objectives understand the key principles of test automation using Selenium WebDriverunderstand how to structure your automated testing including the Page Object Modelgain a full understanding of how Selenium integrates with the Application Under TestUnderstand how to manage Object Recognition, using techniques such as Xpath and CSSBy 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
Facilities
Location
Start date
Start date
About this course
A basic understanding of HTML and how Web Pages are developedSome 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.
Reviews
Subjects
- Writing
- Web
- Visual Studio
- Testing
Course programme
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
Object Identification
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
Synchronisation
What is Synchronisation, Implicit versus Explicit Waits, common examples
Testing Structure
How to build more than one test, in a single Class, Nunit Fixtures, Nunit Traits/Categories, Playlists
Helper Libraries
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 object model. Developing a library of pages (POMs)
Data-Driven Testing
Data driving your Tests using CSV files
Integration
Command-line execution with the Nunit Console Runner
Selenium WebDriver C#
