0845 450 6120

Using Selenium 3.0

Two day instructor led course on Selenium 3.0.

The consumer is putting increasing demands on organisations to deliver applications across many devices, browsers and platforms. With Increasing pressure being put on test tool budgets, IT professionals are looking to the open source market for test automation tools.

Selenium allows both developers and testers to automate tests against applications and execute them against multiple browsers. This course aims at providing a solid foundation to the attendee in understanding automated testing using Selenium.


The objectives of this course are not only to teach what the tool is capable of doing, but to focus on the practical steps required to make automation using Selenium work in the real world. The course provides a hands-on walkthrough to allow attendees to understand the steps in making Selenium function in the real world.

Who should attend?

  • Agile testers
  • Test automation specialists looking to learn Selenium
  • Testers wishing to become test automation specialists

Learning Objectives

On completion of the course, attendees will understand how to configure Selenium and how to automate tests using the tool.

Pre-Requisites

Although it is beneficial that attendees have a coding background (ideally in Java), this is not essential. The code examples used during the course are available in the training environment for attendees less experienced in Java to access.

Course Content

Introduction

  • Automation Overview
  • Core skills taught on the course

Selenium IDE

  • Overview of Selenium IDE
  • Available add-ins
  • “Selenese”
  • Recording and replay of a Selenium IDE Test
  • Firebug, Firepath and other object recognition tools
  • Assertions and Verifications
  • Exporting a Selenium IDE Test as Java

Creating Selenium Scripts in Eclipse IDE

  • Installing and configuring Eclipse
  • Creating a basic automated test and a test suite
  • Executing a test and test suite through Eclipse
  • Importing a test from Selenium IDE

Selenium WebDriver

  • Components of a Selenium Webdriver test in JUnit
  • Annotations in WebDriver
  • Interacting with the AUT: Object locators
  • Actions on WebElements

Data Driving Selenium Tests

  • Use of data sources (e.g. Excel spreadsheets, CSV files, databases) to provide increased maintainability and flexibility.

Debugging and coding
Debugging skills are a critical and often overlooked part of learning how to automate tests. This section teaches the basics of how to debug in the Eclipse IDE, including:

  • Setting breakpoints
  • Retrieving values on-the-fly
  • Stepping through code
  • Using observations from the Application under Test and data source
  • Making deductions
  • Building and testing a hypothesis

Page Object Model
The Page Object Model allows the reuse of code, essential for constructing a maintainable automation framework. Areas covered include:

  • Introducing the Page Object Model
  • The concept of Public and Private and its uses
  • How to access the page objects in a test script

Object Recognition
Object recognition is one of the commonest issues an automation tester will have to face. There are a number of techniques and approaches that can be used to identify troublesome objects, including:

  • Why it is difficult to identify an object
  • Choice of element locator
  • Use of multiple locator properties
  • Use of Xpath or CSS syntax
  • Use of Xpath and CSS patterns
  • Use of ordinal identifiers
  • Using firepath to write more stable locators
  • Descriptive programming for dynamic objects
  • How to navigate web iframes

Behaviour Driven Development (BDD) and Cucumber
Companies are increasingly turning towards Agile approaches and BDD in particular. This bonus lesson offers a brief overview of BDD principals and features of a BDD framework. The module includes:

  • Feature files
  • Step definitions
  • Runner classes
  • An outside-in test driven approach to developing an automation test
One Month
Two Months
Three Months
More than Three Months
PRINCE2 Foundation & Practitioner
MSP Foundation & Practitioner
APMP Certificate
ITIL Foundation
Scrum in One Day
Certified ScrumMaster
ISTQB Software Test Foundation
Microsoft Project
BCS Business Analysis Practice
Other - Please Specify Below

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:

Our Customers Include