10/13/2011

WATIR - open source automation tool


One of the key principles in SCRUM is automation testing. For automation, some good open source tools are available. Like today I am visiting WATIR.


What is WATIR?
1)      It stands for “WEB APPLICATION TESTING IN RUBY”.
2)      A free, open-source functional testing tool for web applications.
3)      It is a Ruby library which drives Internet Explorer the same way people do, clicks links, fills in forms, and presses buttons.
4)      Because it’s build on Ruby, you have the power to connect to databases, read data files, export XML and structure your code into reusable libraries.

Steps to make WATIR running in your machine:-
1.) Install Ruby   (Ruby 1.8.6 or 1.8.7 on all platforms)                           
2.) Update Ruby Gems (In the command prompt write “gem update –system” & latest version of                                    Ruby Gems will get updated).
3.) Install Watir                             
4.) Download and Install Internet Explorer Developer Toolbar.

Note – WATIR doesn’t work with Java  Applet.

0 comments:

Post a Comment