10/14/2011

WATIR Editors


WATIR Console
It is an irb session on steroids which includes local log of the session (saved as console.log). To use watir console, simply go to “Command Prompt” & write irb, then write require “watir” & continue with the script of watir.

SCITE


Scite is a good; light-weight editor bundled along with Ruby one-click installer.
The WATIR script can be written in SciTE (the text editor that comes with ruby) & execution of the script is done using the F5 key .Thus, we can say that there are two ways of writing the script in Watir:  
1.) Using Command Prompt                         
2.) Using SciTE

0 comments:

Post a Comment