Selenium Bootcamp Training Course

Public Classroom

Summary

Selenium Logo

Selenium Bootcamp is a 3-day training course that begins with an introductory material on day one and progresses to advanced Selenium on days two and three. The day-one material introduces the basics of testing web applications using Selenium. Testers can build, enhance, and maintain scripts using both the Selenium IDE and the Selenium 2 WebDriver. The focus is on the practical application of Selenium to resolve common web automated testing challenges. The second part of the course (two days) focuses on the use of advanced Selenium features to enhance Selenium automated test suites. Eclipse IDE is used in the course. Hands-on instruction is an integral part of Selenium Bootcamp.

Duration

3 days

Course Objectives

By the completion of the course you should be able to:

  • Understand the function and purpose of Selenium
  • Understand the benefits and good practices of test automation
  • Record and playback automated test cases
  • Analyze test run results
  • Be comfortable working with test suites and automatic test runs
  • Understand how to use and modify Selenium scripts to test your application
  • Configure Selenium with Eclipse and the Selenium 2 WebDriver
  • Understand Selenium logging and log files
  • Create reusable modules to reduce script maintenance
  • Utilize advanced programming techniques to drive Selenium
  • Understand Regular Expressions and Pattern-based Verification
  • Understand Selenium Test Execution Exception Handling
  • Perform SQL calls to verify data
  • Pragmatically search for web objects
  • Dynamically capture data from web controls
  • Design a custom testing application in Selenium
  • Understand and work with multi-user tests (Selenium Grid tests)

Audience

The target audience is software QA professionals seeking to automate the testing of web applications using Selenium. No prior knowledge of Selenium is expected. The audience may included software testers, engineers or managers what want to ensure that the Selenium automation tools are utilized to their fullest.

Pre-requisites

  • Previous software development/testing experience is preferred but not required
  • Good understanding of web-based applications and tools is preferred
  • Knowledge (even basic) of Java is recommended for the advanced part of this course

Outline

Selenium Overview

  • Purpose of Selenium
  • Selenium IDE

Using the Selenium IDE

  • Recording and Playing Back Test Cases
  • Working with and verifying Test Suites
  • Test Case Reports

Selenium 2 WebDriver Setup

  • Configuration with Eclipse
  • Setting up Helper Files and Templates

Selenium 2 Test Scripts

  • Setting Up Test Scripts in Eclipse
  • Locating Web Elements
  • Creating Custom Log Files and Test Reports

Improving Test Scripts

  • WebElement Methods
  • Target Object Map
  • Test Modularization

Working with Target Objects

  • Identification of Target Objects
  • Dynamic Object Handling

Data Capture and Validation

  • Capturing and Validating Data From Tables
  • Capturing and Validating Data From Drop Down Elements
  • Capturing and Validating Data From HTML Trees

Logging

  • Excel Logs
  • Screen Shots
  • Logging Options

Regular Expressions

  • Regular Expression Operators
  • Using Regular Expressions with Data

Data Driven Tests

  • Connecting to Data Sources
  • Working with Parameters
  • Creating Dynamic Validation Statements

Working with Databases

  • Connecting to Databases
  • Executing Queries
  • Working with the Result Set

Multi-Browser Testing

  • Creating and Modifying Tests to Execute against Major Web Browsers

Selenium Grid

  • Setting up the Selenium Hub
  • Running Test Suites on Multiple Machines
  • Running Tests in Sequence and Parallel