insight

Watir: Take the Plunge

by Josh Kemmerling December 30, 2009

Watir, pronounced water, automates web browsers. It is an open-source library that simulates link clicks, presses buttons, fills out forms and more. If it takes place in a web browser, you can probably make it happen with Watir.

Although it’s a family of Ruby libraries, Watir is a little different to set up and use — but it still supports all web applications, regardless of what you use for development. The library can connect and query databases, read spreadsheets and export XML files. It’s hard to imagine what this looks like when it runs. After you use it once, you realize how nice it actually is.

You can use Watir to perform repetitive testing tasks normally handled by a human user. For example, it can repeatedly click around a page and generate a spreadsheet of results. It can also input data from an Excel spreadsheet into a form and submit it. While it was initially created as a testing tool, you can Watir to accomplish most tasks handled in a browser.

Watir will work on any system, and it works with most of the popular browsers out there, including Internet Explorer on Windows, Firefox on Windows, Firefox on Mac, Firefox on Linux, Safari on Mac, Chrome on Windows and even Flash testing in Firefox. That’s right, Flash testing.

So why Watir?
•    It’s free
•    It’s open-source
•    It supports any type of website or web application
•    It’s easy and fun to use
•    It’s very lightweight
•    It has multi-browser and multi-platform support
•    It allows you to test Flash applications

Why not install Watir now? If you already had, it could click the link for you!

 

Comments

Add comment


 

biuquote
  • Comment
  • Preview
Loading



The opinions contained in these pages do not necessarily reflect those of Springbox or its parent company, DG.
| PRESS | COMPANY | CAREERS | INSIGHT | CONTACT |