About this course

Course code TPT60400
Duration 2 Days
Special Notices


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.

Prerequisites

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.

Delegates will learn how to

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

Outline

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 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
 ObservingUsing 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.

2 Days

Duration

This is a QA approved partner course

Delivery Method

Delivery method

Classroom

Face-to-face learning in the comfort of our quality nationwide centres, with free refreshments and Wi-Fi.

Trusted, awarded and accredited

Fully accredited to ensure we provide the highest possible standards in learning

All third party trademark rights acknowledged.