Hi Zeljko,

You are not doing anything wrong here. The current version for Firefox is in sync with what is available on the tar ball. So the 'watir.rb' in Firefox extension is refactored version of 'watir.rb' file that is available on the HEAD. So I think that is the source of error.

So, what you should do is download the latest tar ball, install watir from that tar ball & then apply the Firefox extension. Let me know if this works.

I will also update the installation document.

Regards,
Angrez

On 3/14/06, Zeljko Filipin <[EMAIL PROTECTED]> wrote:
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

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

Reply via email to