Watir is an open source testing tool made up of Ruby libraries to automate web application testing. It is pronounced as “water.”
Watir offers following features:
- Tests any language-based web application
- Cross-browser testing
- Compatible with business-driven development tools like RSpec, Cucumber, and Test/Unit
- Tests web page’s buttons, forms, links, and their responses
What is Watir testing tool?
Watir, pronounced water, is an open-source (BSD) family of Ruby libraries for automating web browsers. It allows you to write tests that are easy to read and maintain. It is simple and flexible. Watir drives browsers the same way people do. ... It's a free Open Source tool.
Automated testing that doesn’t hurt
Watir drives browsers the same way people do. It clicks links, fills in forms, presses buttons. Watir also checks results, such as whether expected text appears on the page.
Watir is a family of Ruby libraries but it supports your app no matter what technology it is developed in. Whilst Watir supports only Internet Explorer on Windows, Watir-WebDriver supports Chrome, Firefox, Internet Explorer, Opera and also running in headless mode (HTMLUnit).
Like other programming languages, Ruby gives you the power to connect to databases, read data files and spreadsheets, export XML, and structure your code as reusable libraries. Unlike other programming languages, Ruby is concise and often a joy to read.
- It’s a free Open Source tool. There are no costs to use the tool.
- There’s a very active and growing community behind it.
- It uses Ruby, a full-featured modern scripting language, rather than a proprietary vendorscript.
- It supports your web app no matter what it is developed in.
- It supports multiple browsers on different platforms.
- It is powerful and easy to use, yet beautifully lightweight.