Choose your language:

France
Germany
Hong Kong
India
Ireland
Japan
Malaysia
Netherlands
New Zealand
Singapore
Sweden
United Kingdom
United States

Introduction to Selenium 3 - WebDriver

Course Code

MQ870

Duration

2 Days

Participants are required to have a background in Java. A background in Web technologies, testing concepts, and the Eclipse IDE is helpful, but not required.
Introduction to Selenium-3 WebDriver is a hands-on, 2-day course that introduces students to the concepts and techniques of testing Web Applications with the W3C recommended Selenium-3 WebDriver and the rest of the Selenium testing tool suite. Students will explore, learn and use practical skills and best practices required to effectively test Web Application with Selenium using the latest features and methods. Throughout the course, students will work with complex Web Applications that requires a number of testing scenarios.

Each step of learning will contain a hands-on lab where you will be able to go step-by-step through the process of creating and modifying automated tests. In addition, you will learn good practice for designing automated tests so they are maintainable and reusable.
This course is designed for experienced Web Applications Test Developers who are new to Selenium.

Upon completion of this course, participants will be able to:

  • Setup and run Selenium test projects for Selenium-2 and Selenium-3
  • Use the Selenium IDE GUI as a time saving tool
  • Use WebDriver to control the browser
  • Locate and manipulate HTML DOM nodes with Selenium WebElements
  • Use Selenium WebElements to manipulate
    • Text Boxes
    • Buttons
    • Forms
    • Radio Buttons
    • Select Elements
    • Links
    • Tables
  • Make test scripts maintainable
    • Refactor to the Page Object Model
    • Refactor with Page Tables
  • Manage Selenium Test Suites
    • Test Harnesses for running test suites
    • Testing Frameworks for managing test environment
  • Run parallel tests with Selenium Grid

Introduction to Test Automation and Selenium

  • Test Concepts
  • Test Automation
  • History of Selenium
  • Selenium Suite of Testing Tools
  • Selenium versions and considerations
    • Browser Drivers
    • 3rd party Version Considerations
    • Selenium-3 W3C Specification
  • Selenium Roadmap and migration

Introduction to Selenium Projects
Understanding Selenium libraries, main classes, and projects

  • Understanding and Downloading Selenium Components
  • Test script as Java code
  • The Selenium WebDriver library
  • The Main WebDriver classes
  • WebDriver Capabilities
  • Selenium WebDriver projects
  • Using Maven and Gradle to Build Selenium Projects
  • Lab: Working with Selenium Libraries and Drivers

Selenium IDE
Using Selenium IDE as a Prototype Time Saver

  • Installing Selenium IDE
  • The IDE GUI
  • Creating and Running Selenium IDE scripts
  • Introduction to Seleneese, Selenium Commands
  • Locating Elements
  • Using the Find Button
  • IDE as a WebDriver Prototype Tool
  • Lab: Prototyping with Selenium IDE

Selenium WebDriver
Introduction to the WebDriver Class

  • Test script as Java code
  • The Selenium WebDriver library
  • Selenium and the HTML DOM
  • The Main WebDriver classes
  • WebDriver Capabilities
  • Selenium WebDriver projects
    • Using Maven and Gradle
  • Lab: First Selenium WebDriver Test

Selenium WebElements
Working with WebElements basics

  • Locating WebElements
  • Manipulating WebElements
  • Retrieving and Verifying WebElements
  • Submitting a Form
  • Lab: Locating and Updating WebElements

More Working with WebDriver
Working with additional WebElements

  • Handling Radio and Check Buttons
  • Handling Select Elements
  • Lab Part 1: More Advanced WebElements
  • Accessing Links
    • Exact and Partial Link Text Match
    • Case-sensitivity
  • Lab Part 2: Working with Links

Accessing Tables with Selenium WebDriver
Locating and using Tables Using Selenium WebDriver

  • Working with Tables
  • Advanced Strategies for Locating WebElements
  • Walking a Table with Selenium
  • Lab: Walking Tables

Selenium Page Object Model (POM) & Page Factory
Simplifying Selenium Test Projects and making them maintainable

  • Introduction to POM (Page Object Model)
    • POM Benefits
    • How to Refactor a Project to POM
  • Lab Part 1: Refactoring to the POM
  • Introduction to the Page Factory
    • PageFactory implicit Instantiations
    • Page Factory Annotations
    • Lazy Instantiations and Cacheing
  • Lab Part 2: Refactoring to the Page Factory

Managing Selenium Test Suites
How to use testing projects and patterns to manage Selenium Test Suites

  • Test Harnesses
    • Role of Test Harnesses
    • Running test suites with TestNG and Junit
    • Reviewing results
  • Managing Test Environments with Testing Frameworks
  • Modular
  • Data Driven
  • Keyword Driven
  • Hybrid

Selenium Grid

  • Selenium Grid product
    • Architecture
    • Setting up a Selenium Grid test
    • Configuration
  • Running the Test
Send Us a Message
Choose one