Overview
Watir (Web Application Testing in Ruby) is an open source library for automating tests. Watir interacts with a browser the same way people do: clicking links, filling out forms and validating text. Based on the WebDriver framework, it is comparable to Selenium and is one of the most popular tools for web application test automation.
In this training participants will learn how to use Watir to automate their web application testing by combining theory with practice in a live lab environment. By the end of the course, participants will have the knowledge and practice to utilize the full power of Watir and Ruby to automate their web testing projects.
Format of the Course
- An instructor-led course with theoretical coverage of Watir and Ruby together with exercises and a large component of hands-on practice.
Requirements
- Basic knowledge of test automation
- Basic understanding of the HTTP protocol, SSL, redirection, etc.
- Basic knowledge of SQL
- Some programming or scripting experience
Audience
- Automation test engineers
Course Outline
Introduction to Watir and Ruby
Installation and Setup
Overview of Watir Architecture
Ruby Scripting for Test Automation
Working with Webdrivers
Working with Page Objects
Locating Page Elements
Creating a Unit Test
Using Watir Methods and Classes
Accessing a Database
Developing a Test Framework
Troubleshooting
Summary and Conclusion