Search This Blog

Saturday, October 9, 2010

What is Watir (Web Application Testing in Ruby)


Watir is a toolkit used to automate browser-based tests during web application development.
Is an open-source (BSD) family of Ruby libraries for automating web browsers
“Watir drives browsers the same way people do. Watir also checks results, such as whether expected text appears on the page.”
This automated test tool uses the Ruby (programming language) scripting language
  • Internet Explorer,
  • Mozilla Firefox,
  • Google Chrome and
  • Safari (web browser)
Available as a RubyGems gem
Watir operates differently than HTTP based test tools, which operate by simulating a browser. Instead Watir directly drives the browser through the Object Linking and Embedding protocol, which is implemented over the Component Object Model (COM) architecture