0345 4506120

Selenium WebDriver C#

The Selenium course that takes you from beginner through to writing effective automated tests in WebDriver .NET

This course covers all the essential principles of using the Selenium WebDriver automation framework in Microsoft Visual Studio.

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.

Target Audience

  • Recommended for anyone new to Selenium
  • Designed for beginners as well as testers with previous automation experience

We don't currently have any courses listed for Selenium WebDriver C#, would you like to view all courses for Software Testing?

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 integrate with other tools such as Git & Jenkins

Pre-Requisites

• A basic understanding of  HTML and how Web Pages are developed
• Some programming experience would be advantageous

Course Content

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

Object Identification

Element locator strategies, Chrome Developer Tools and other extensions, Regular Expressions, Index, Xpath functions

Recording Tools

Recording & Exporting Scripts

Synchronisation

What is Synchronisation, Adding Delay, Implicit versus Explicit Waits, common examples

Capturing Values and Validation

How to capture values from the Web Site, Using Asserts, Execution Flow, Debugging Tools

Testing Structure

How to build more than one test, in a single Class, NUnit Fixtures, Execution Order, NUnit Traits/Categories, Playlists

Base Classes

Creating a Test Base Class to use through Inheritance for SetUp & TearDown

Helper Libraries

Reusable code, Common examples such as Handling Alerts & Pop-ups

Reporting

Console reporting, Taking Screenshots, Creating Dynamic HTML Results with Extent Reports

Cross-Browser Testing

Handling differences between Browsers, Tips for Edge & IE Browsers

Data-Driven Testing

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

Global Parameters

Using Application config files to store global values

Command Line Execution

Command-line execution with the NUnit Console Runner

Source Control

Integrating with Git & GitHub

Continuous Integration

Integrating with Jenkins for C.I.

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

 

Online Courses

You may prefer an online course if you are looking for a flexible and cost-effective solution. Online courses allow you to study at your own pace, at a time that suits you.

We have the following eLearning options available:

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