Introduction to Selenium & Selenium Web Testing

Selenium is an API that allows the automation of web page interaction through browsers, including locating and interacting with specific features within a web interface. A tool such as Selenium IDE can be used to perform the testing in a relatively manual fashion. Selenium also comes with WebDriver, which provides a programmatic interface (API) for controlling and managing Selenium tests and interactions. WebDriver provides a mechanism for capturing and repeating tests with a web interface. Introduction to Selenium is a hands-on web testing course containing information on how to use Selenium 4 that is essential for experienced web developers and test engineers who need to verify web applications. This hands-on class focuses on practical skills and best practices to ensure the student learns the ins and outs of web application testing with Selenium and Java.

Retail Price: $1,995.00

Next Date: Request Date

Course Days: 3

Request a Date

Request Custom Course

At Course Completion

Students who attend Introduction to Selenium will leave the course armed with the skills required to recognize how to test web applications for sufficiency, using Selenium and the WebDriver interface to design and implement tests. Throughout the course you’ll work with a sample Web Application that requires several testing scenarios.

Working in a hands-on learning envionment led by our expert team you'll learn to:

· Understand web page testing needs and how Selenium meets those needs

· Analyze a web application from a functional and testing perspective

· Design, code, and run manual tests using Selenium IDE

· Use Selenium constructs to locate elements on a web page

· Test web page forms and the elements in those forms

· Review Java constructs needed to by testers when working with WebDriver

· Design code and run automated Selenium tests using the Java WebDriver API

· Use the WebDriver API to test advanced web features such as delayed responses and Ajax

· Using a combination of JUnit 5 features and WebDriver to consume streams of data for testing

· Focus on Best Practices for Selenium testing using the Java WebDriver API

Audience Profile

This is an introductory -level Selenium course, designed for experienced web developers that are familiar with Java, who wish to get up and running on testing web applications.



Ideally students should have approximately 6 months to a year of web development working knowledge.

We recommend attendees have the skills in the course listed below, or attend this course as a pre-requisite:

· TT2190 Basic Java Primer for Non-Developers (QA, testers, etc) – 2 days



Session: Selenium Basics

Lesson: Introduction to Selenium

· Introduce Selenium

· Selenium concepts and terminology

· Manual testing using Selenium

· Automated testing using Selenium WebDriver

· Tutorial: Selenium Lottery Application

· Lab: Analyzing the Web Application

Lesson: Using the Selenium IDE

· Start the Selenium IDE

· Understand the components of the Selenium IDE

· Use Web Developer Inspector to inspect elements in a web page

Lesson: Creating and Running a Manual Test

· Testing planning and test plans

· Use Selenium IDE to create and run a manual test

· Understand Selenium IDE components

· Page transitions and globbing

· Lab: Creating and Running a Manual Test

· Lab: Testing Alerts

Session: Testing with Java and Selenium WebDriver

Lesson: JUnit 5 for Selenium

· Aspects of JUnit that are relevant for Selenium testing

· Understand the basics of testing with JUnit constructs

· Work with Java and JUnit for managing and running tests

· Tutorial: Setup JUnit 5 Project library in IntelliJ

· Lab: Demo: JUnit

· Lab: Reapplying JUnit

· Lab: Demo JUnit

· Lab: Reapplying JUnit

· Lab: Demo: Using the JUnit Framework With Selenium

Lesson: Selenium WebDriver

· Work with WebDriver in Java

· Find locations on web pages

· Work with different browsers

· Built-In Locators

· Lab: Simple Maven Setup with Eclipse

· Tutorial: Setup IntelliJ for Using Maven

· Lab: Creating and Running a WebDriver Test

· Lab: Creating and Running a WebDriver Test

· Lab: Testing With Other Browsers (optional)

· Lab: Working With WebDriver Locators

· Lab: Adding WebDriver Tests

Lesson: WebDriver Deep Dive

· WebDriver commands for working with forms

· Work with complex form components

· Take screenshots

· Work with alerts

· Lab: Testing Forms With WebDriver

· Lab: Screenshots

Lesson: Advanced WebDriver

· Use WebDriver to work with windows, tabs and iframes

· Utilize Actions class for mouse and keyboard actions

· Test file uploads and downloads

· Test AJAX elements

· Wait for events to happen

· Feed data sets into a testing sequence

· Lab: Testing Wait Styles

Session: Selenium Best Practices and Processes

Lesson: Selenium Best Practices

· Cover the best practices for testing web applications with Selenium

· Manage Names

· Multiple Browser Testing

· High Quality Tests and Test Plans

· Using Whitespace

· Efficient Operations

· Establish Selenium Standards

Lesson: Testing Strategies and Patterns

· Types of web application tests

· Strategies for locating elements

· Wrapping Selenium calls

· Verifying vs asserting

· Delayed exception handling

· Lab: Using Delayed Exceptions

· Lab: Automated Running of Multiple Test Cases

Session: Next Steps with Selenium

Lesson: Page Object Model (POM)

· Need for POM

· What is POM

· Implementing POM

· Using Object Repositories

· Page Factory

· Lab: Building Page Object Models

· Lab: Build an Object Repository

· Lab: Using PageFactory

Additional Topics: Time Permitting

These topics will be included in your course materials but may or may not be presented during the live class depending on the pace of the course and attendee skill level and participation.

Lesson: Selenium Locators

· Use Selenium IDE to find a specific spot on the web page

· Built-In Locators

· Find by HTML Features

· Find using CSS

· Find using XPath and the DOM

· Lab: Working With Locators

Lesson: Selenese

· Selenese Overview

· Selenese Commands

· Action Commands

· Accessor Commands

· Assertion Commands

· Lab: Working with Selenese

Lesson: Forms

· Selenese Commands for Working with Forms

· Form Actions

· Text Form Actions

· Keys

· Button Form Actions

· Other Actions

· Lab: Testing Forms Using the Selenium IDE

Sorry! It looks like we haven’t updated our dates for the class you selected yet. There’s a quick way to find out. Contact us at 502.265.3057 or email

Request a Date