Google

Watir Installation

1. Click here to "Download Ruby".(Specify the Path to Save the .exe file and Run the .exe file to Install Ruby).
OR
Click the link to download latest version

2. When the Ruby Installation was done. Open the Ruby installed path in Command Prompt.
Eg: If the ruby was installed at "C:\ruby".

3. To install watir just type, "gem install watir".
Eg: Type "C:\ruby>gem install watir" (it will take some time to install the latest version of the watir.)

To Confirm/Check the Watir Installation:
1. Open the Ruby folder and find the Watir folder in the gems folder. In my case it is,
"C:\ruby\lib\ruby\gems\1.8\gems\watir-1.5.3".
2. Here the watir version installed is "watir-1.5.3"

No comments: