[Wtr-general] Problem with FireWatir

gege qian gegeqian at yahoo.com
Tue May 16 15:12:35 EDT 2006


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. 
   
  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.
   
  3)I make sure I type firefox.exe -jssh, just one hypen
   
  4)I got the msg of 
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
"
  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! Messenger’s low  PC-to-Phone call rates.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060516/13ea58bb/attachment.html 


More information about the Wtr-general mailing list