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'
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-----Hi Brown,
From: Angrez Singh [mailto:[EMAIL PROTECTED]
Sent: Monday, February 20, 2006 4:59 PM
To: [email protected]
Subject: Re: [Wtr-general] xpath support doesn't work for me
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
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
