[Wtr-general] xpath support doesn't work for me
Brown, Christopher
christopher_brown at engin.com.au
Tue Feb 21 00:14:41 EST 2006
Okay,
I've installed Watir 1.4.1 then run install.rb from the tar bundle (bad
move?). When I run xpath_tests.rb I get errors like the following
87) Error:
test_textarea_field_exists(TC_TextArea_XPath):
WIN32OLERuntimeError: Unknown property or method `navigate'
HRESULT error code:0x80010108
The object invoked has disconnected from its clients.
C:/Temp/watir/unittests/../watir.rb:1324:in `method_missing'
C:/Temp/watir/unittests/../watir.rb:1324:in `goto'
C:/Temp/watir/unittests/../unittests/textAreafields_xpath_test.rb:11:in
`gotoPage'
C:/Temp/watir/unittests/../unittests/textAreafields_xpath_test.rb:15:in
`test_textarea_field_exists'
88 tests, 0 assertions, 0 failures, 87 errors
Regards
Chris
-----Original Message-----
From: Angrez Singh [mailto:angrez at gmail.com]
Sent: Monday, February 20, 2006 4:59 PM
To: wtr-general at rubyforge.org
Subject: Re: [Wtr-general] xpath support doesn't work for me
Hi Brown,
Anyway, when I run my test script I get the following error message
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1273:in `initialize': LoadLibrary:
c:\ruby\lib\ruby\site_ruby\1.8\watir\IEDialog\Release\IEDialog.dll
(RuntimeError)
from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1273:in `new'
from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1273
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 G:/workspace/web_pages/trial.rb:1
The error that you are getting has nothing to do with the XPath support.
Could you please try to run the xpath unit tests provided with the TAR ball
to make sure that XPath is working?
Regards,
Angrez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060221/5c04ac49/attachment.html
More information about the Wtr-general
mailing list