Course Code:
selntroandadv
Duration:
21 hours
Prerequisites:
- Software development experience (recommended)
- General understanding of web-based applications (desired)
- Knowledge of Java programming (beneficial)
Overview:
In this instructor-led, live training, participants will first learn the basics of web application testing using Selenium. In the advanced part of the course participants will learn how to enhance Selenium automated test suites using the Eclipse IDE Editor.
By the end of this training, participants will be able to:
- Build, enhance, and maintain scripts using Selenium IDE and Selenium 2 WebDriver
- Resolve complex web application test automation issues with Selinium
Audience
- Software testers
- Test Managers
- Quality assurance professionals
Course Outline:
Introduction to Selenium
Selenium Overview
- Purpose of Selenium
- Selenium IDE
Using the Selenium IDE
- Recording and executing Test Cases
- Test Case Verification
- Working with Test Suites
- Test Case HTML Reports
Selenium 2 WebDriver Setup
- Configuration with Eclipse
- Setting up Helper Files
- Setting up Templates
Selenium 2 Test Scripts
- Setting Up Test Scripts in Eclipse
- Locating Web Elements
- Conversion of Verification Statements
- Creating Custom Log Files
- Creating Test Reports
Test Script Enhancement
- Useful WebElement Methods
- Target Object Map Creation
- Test Modularization
Advanced Selenium
Target Object Identification
- Identifications Methods (Name, ID, CSS, DOM, etc...)
- Dynamic Object Handling
Data Capture and Validation
- Capturing Data From Tables
- Validating Data From Tables
- Capturing Data From Drop Down Lists
- Validating Data From Drop Down Lists
- Capturing Data From HTML Trees
- Validating Data From HTML Trees
Logging Options
- Working with Excel Logs
- Adding Screen Shots to Log Files
- Different Logging Options
Regular Expressions
- Regular Expression Operators
- Using Regular Expressions for Data Capture
- Greedy and Reluctant Closure
Data Driven Tests
- Connecting to Data Sources
- Working with Parameters
- Creating Dynamic Validation Statements
Working with Databases
- Connecting to Databases
- Executing Queries
- Parsing through Result Set
MulitBrowser Testing
- Setup required to run tests against IE and Chrome
- Modifying Tests to Execute against Multiple Browsers
- Creating Test Suites to Execute against Multiple Browsers
Selenium Grid
- Setting up the Selenium Hub
- Running Test Suites on Multiple Machines
- Running Tests in Sequence
- Running Tests in Parallel