Added by Bindu, last edited by Bindu on Jun 18, 2008
1: How can i write my first water script.
2: What is the extension of the script, like should it be test.txt ot test.rb??
3: How to compile the water script? or what is the command used for execution of the script?
A better way to get your questions answered is to subscribe and post to the the watir-general list at google groups here
To answer your questions:
1) Take a look at this wiki which should answer most of your questions. A good place to start is the Tutorial.
2) As Watir is written on top of Ruby, all Watir scripts are Ruby scripts (.rb).
3) Watir is not compiled. All you need to do is run the script. You can either execute the script from the command line or use SciTE (the text editor that comes with ruby) and execute your script there using the F5 key to run the script in the SciTE editor.
Bindu -
A better way to get your questions answered is to subscribe and post to the the watir-general list at google groups here
To answer your questions:
1) Take a look at this wiki which should answer most of your questions. A good place to start is the Tutorial.
2) As Watir is written on top of Ruby, all Watir scripts are Ruby scripts (.rb).
3) Watir is not compiled. All you need to do is run the script. You can either execute the script from the command line or use SciTE (the text editor that comes with ruby) and execute your script there using the F5 key to run the script in the SciTE editor.