0845 450 6120

Selenium WebDriver C#

Special Notice

Please note that from November the Selenium WebDriver C# course will be 3 days, not 2. This is to bring it in line with the WebDriver Java course, where we will cover more advanced topics on day 3. This is currently in development and the new syllabi will be available once finalised.

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

Reset

Learning Objectives

  • 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 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

Pre-Requisites

  • 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.

Course Content

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

Privacy Notice

In order to provide you with the service requested we will need to retain and use your contact information in accordance with our Privacy Notice. If you choose to provide us with this information you explicitly consent to us using the information as necessary to provide the request service to you. If you do not agree please do not proceed to request the service from us.

Marketing Permissions

Would you like to receive our newsletter and other information on products and services which we think will be of interest to you by email. We will always treat your information with care and in accordance with our Privacy Notice. You are free to withdraw this permission at any time.

 

Virtual Classroom

Virtual classrooms provide all the benefits of attending a classroom course without the need to arrange travel and accomodation. Please note that virtual courses are attended in real-time, commencing on a specified date.

Virtual Course Dates

Our Customers Include