Hi
Angrez,
-----Original Message-----
From: Angrez Singh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 22, 2006 3:23 PM
To: [email protected]
Subject: Re: [Wtr-general] xpath support doesn't work for me
From: Angrez Singh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 22, 2006 3:23 PM
To: [email protected]
Subject: Re: [Wtr-general] xpath support doesn't work for me
Hi Brown,I've done as suggested and moved Watir from C:\Program Files\Watir to C:\Watir but I still get the same errors.Am I correct in thinking that the xpath stuff actually resides in the Ruby installation and that the xpath_tests.rb is attempting to use
Nope XPath uses only REXML part of Ruby installation. Rest code resides in watir.rb file.[Chris Brown] Okay. That makes sense.
Anyway, these are the failures I get when I run core_tests.rb before trying to install the xpath stuff:1) Failure:
test_http_errors(TC_Navigate) [C:/Watir/unittests/../unittests/navigate_test.rb:51]:
<Watir::Exception::NavigationException> exception expected but none was thrown.2) Failure:
test_links_and_images_in_table(TC_Tables) [C:/Watir/unittests/../unittests/table_test.rb:165]:
<"106"> expected but was
<"28">.154 tests, 946 assertions, 2 failures, 0 errors
I think some of the unit tests are not up to date so need to change those & thats why you are getting this error.
[Chris Brown] Okay.
Just compared my Ruby installation with the watir contents in the tarball. Gonna copy the following to my Ruby installation: IEDialog folder, win32ole folder, datahandler.rb, dialog.rb, and tidy.dll. I now get 'The object invoked has disconnected from its clients.'!
If I understood right, you copied these files to [ruby installation directory]/ruby/lib/ruby/site_ruby/1.8 .
[Chris Brown] Yes.
I don't think I need the rexml folder since its already installed with the version of Ruby.
Yes, you don't need Rexml folder. You can just copy the files to the Rexml folder that comes with Ruby installation.
[Chris Brown] I don't understand the second sentence. I copied element.rb and functions.rb from the repository into the Ruby installation directory.
I'll try installation of Watir using the tar ball on my local machine & let you know.
[Chris Brown] Goo dluck :)
Regards,
Angrez
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
