With the Watir testing tool one thing is very necessary that you must have some programming knowledge because Watir is not based on recording and playback concept. In Watir every script is written by tester before running it. If you want to test your web application by Watir then do one thing, open that page which you want to test and open the view source of page. Do you have knowledge about HTML? Because HTML knowledge is very necessary with Watir. If your web contains buttons, text fields, links, drop-down menus then you can write the script for these objects like this-
For Button you can write script like this but take that variable where you have opened IE browser.
variable_name.button(:name, "Button name").click
"Button name" this value should use according to source code.
variable_name (variable name)
button (Class name)
name (name of button)
Button name (name of button which is used in coding).
this syntax will click your button which is present on web page.
For text box.
variable_name.text_field(:name, "text box name").set ("Asit")
.set (this syntax will put your desired word in text box)
For hyper links.
variable_name.link(:text, "link name").click
.click (this syntax will tell to Watir that click link).
For drop down box.
variable_name.select_list(:name, "drop down box name").select ("drop down value")
.select (this syntax will tell to Watir that select drop down values).
So these are some scripts which I have described and I'll come with further discussions about Watir.