HI: All
I'm trying to use firewatir, but could not make it work. Please give me some help.
1)I have download "watir-1[1].5.0.980.gem" from 'http://wiki.openqa.org/display/WTR/Development+Builds'
and using command 'gem install watir' to install it. THe watir sits in gems folder.
and using command 'gem install watir' to install it. THe watir sits in gems folder.
2)I got the firefox code and jssh-20060221-WINNT.xpi parts from 'http://svn.openqa.org/svn/watir/branches'
and install them according to the installation doc.
and install them according to the installation doc.
3)I make sure I type firefox.exe -jssh, just one hypen
4)I got the msg of
Welcome to the Mozilla _javascript_ Shell!
Welcome to the Mozilla _javascript_ Shell!
>
5)when I run mozilla_all_tests.rb, the error msg i got is
">ruby mozilla_all_tests.rb
./../mozilla_unittests/setup.rb:35:in `start_ie_with_logger': uninitialized constant Watir::Firefox (NameError)
from ./../mozilla_unittests/setup.rb:49
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'
from mozilla_all_tests.rb:6
>Exit code: 1
"
">ruby mozilla_all_tests.rb
./../mozilla_unittests/setup.rb:35:in `start_ie_with_logger': uninitialized constant Watir::Firefox (NameError)
from ./../mozilla_unittests/setup.rb:49
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'
from mozilla_all_tests.rb:6
>Exit code: 1
"
I have search the Wtr-general, but until now I could not figure out what's wrong. Please help.
Thank you very much!
Gege
How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
