Hi,

I have done the testing using watir that is installed using the click installer. I haven't tried installing watir using gems (which installs watir in gems directory). You can use the one click installer and then do the same steps you'll be able to run FireWatir.

Regards,
Angrez


On 9/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Thanks a lot charley and zeljko i uninstalled ruby installed ruby and watir so now the 1.5 version is workin
I have a different problem  now
I have checked out firewatir from svn.
according to installation doc that accompanies that i have installed jssh and
Closed Firefox. Restart it again using command "[Firefox installation directory]/firefox.exe –jssh" from command prompt.

i checked if JSSH is listening on port 9997 i ran the command "telnet localhost 9997" and firefox was responding with - Welcome to the Mozilla _javascript_ Shell!
As i have installed watir thru the gem i do not have
    1. watir.rb
    2. watir/WindowHelper.rb
    3. watir/winClicker.rb
    4. watir/setFileDialog.rb
    5. watir/camel_case.rb
these files in the "[ruby installation directory]/lib/ruby/site_ruby/1.8" folder.
So I copied the files inside the code folder into
"[ruby installation directory]/lib/ruby/site_ruby/1.8" folder
i copied
"mozilla_unittests" folder to "[watir installation directory]" - C:\ruby\lib\ruby\gems\1.8\gems\watir-1.5.1.1075\mozilla_unittests
thru comand promt i invoked firefox.exe -jssh
Then ran "mozilla_all_tests.rb"
Now i get this error ---
C:\ruby\lib\ruby\gems\1.8\gems\watir-1.5.1.1075\mozilla_unittests>ruby mozilla_a
ll_tests.rb

./../mozilla_unittests/setup.rb:35:in `start_ie_with_logger': uninitialized cons
tant Watir::Firefox (NameError)
        from ./../mozilla_unittests/setup.rb:49
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re
quire'
        from mozilla_all_tests.rb:6
 

Have i done something wrong in the installation???

thanks
krish


Check out AOL.com today. Breaking news, video search, pictures, email and IM. All on demand. Always Free.

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to