I have windows xp sp2, ruby 1.8.4, watir 1.4.1 (gem install), Firefox/1.5.0.1.
>From Installation guide for FireWatir (Installation Guide.doc):
3. Take backup of following files inside "[ruby
installationdirectory]/lib/ruby/site_ruby/1.8" folder, just to make sure you
don'tmess up with earlier installation of watir:a. watir.rbb.
watir/WindowHelper.rbc. watir/winClicker.rbd. watir/setFileDialog.rbe.
watir/camel_case.rb
These files are not there, but I made copy
ofC:\ruby\lib\ruby\gems\1.8\gems\watir-1.4.1
4. Copy the code inside "code folder" to "[ruby
installationdirectory]/lib/ruby/site_ruby/1.8".5. Copy "mozilla_unittests"
folder to "[watir installation directory]"
I copied all to C:\ruby\lib\ruby\gems\1.8\gems\watir-1.4.1
6. Run "mozilla_all_tests.rb" to run the unit test cases. Make sureyou
have started Firefox manually as stated in step 2e.
When I run mozilla_all_tests.rb I get this error message:
C:\ruby\lib\ruby\gems\1.8\gems\watir-1.4.1\mozilla_unittests>mozilla_all_tests.rbC:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/mozilla_unittests/../watir.rb:483:in`initialize':
LoadLibrary:C:\ruby\lib\ruby\gems\1.8\gems\watir-1.4.1\watir\IEDialog\Release\IEDialog.dll
(RuntimeError) from
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/mozilla_unittests/../watir.rb:483
from
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in`require'
from
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/mozilla_unittests/../mozilla_unittests/setup.rb:4
from
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in`require'
from
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/mozilla_unittests/mozilla_all_tests.rb:6
Am I doing something wrong?
Zeljko
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general