Overview
Selenium is an open source library for automating web application testing across multiple browsers. Selenium interacts with a browser as people do: by clicking links, filling out forms and validating text. It is the most popular tool for web application test automation. Selenium is built on the WebDriver framework and has excellent bindings for numerous scripting languages, including Ruby.
In this instructor-led, live training participants combine the power of Ruby with Selenium to automate the testing of a sample web application. By learning to create and combine Ruby test scripts with Selenium web automation in a live lab environment, participants will gain the knowledge and practice needed to automate the testing of their own real life web applications and websites.
Format of the course
- Part lecture, part discussion, heavy hands-on practice
Requirements
- Basic Ruby programming experience.
- Basic knowledge of test automation.
Audience
- Testers and Developers
Course Outline
Introduction to Selenium with Ruby
- Ruby vs Java for writing test scripts
Installation and Setup
Selecting a Ruby IDE or Editor
Overview of Selenium Architecture
- Selenium IDE
- Selenium WebDriver
- Selenium Grid
Ruby Scripting Essentials for Test Automation
Working with Selenium Webdriver
The Anatomy of a Web Application
Locating Page Elements through Page Objects
Creating a Unit Test
Accessing a Database
Developing a Test Framework
Running Test Suites against Multiple Browsers
Working with Selenium Grid
Troubleshooting
Closing Remarks