| Warning This information may be out of date since FireWatir 1.2.1. Please see FireWatir Installation |
Installation guide for FireWatir:
- Install Firefox 1.5 or higher version (http://www.mozilla.com/firefox/). It may or may not run with earlier version of Firefox.
- Install JSSh XPI using following steps:
- Open Firefox browser.
- From File menu select Open File option.
- Navigate to the path where "JSSh XPI" folder is located. Select 'XPI' inside this folder and click open.
- Wait till a dialog appear stating that do you want to install this extension. Click install.
- Close Firefox. Restart it from command prompt using "<Firefox installation directory>/firefox.exe -jssh". Make sure you give "-jssh" as parameter other wise Firefox will not start JSSh shell.
- To check if JSSh is listening on port 9997 run command "telnet localhost 9997" from command prompt.
- Install Firewatir using the following command
gem install firewatir - Go to gem install directory in ruby installation. Go to Firewatir gem directory and then to unit tests directory. Run "mozilla_all_tests.rb" to run the unit test cases. Make sure you have started Firefox manually as stated in step 2.5 if you are using Mac machine. On windows and Linux just run "mozilla_all_tests.rb".
- If "attach_new_browser" test fails then,
- Make sure that pop ups are allowed in Firefox. To allow the pop up run this test alone and then allow the pop ups.
- Make sure that Firefox settings should be open new window instead of new tab when link is clicked.
Comments (2)
Sep 17, 2008
Bret Pettichord says:
The information in step 5 needs to be retained. These instructions need to be fo...The information in step 5 needs to be retained. These instructions need to be followed to get the Firefox#attach command to work.
Sep 20, 2008
Alister Scott says:
Information from step 5 has been added to the new FireWatir Installation page.Information from step 5 has been added to the new FireWatir Installation page.