Hi Angrez
 
I appear to have completely stuffed up my installation. The xpath tests all fail with errors like the following
 
 79) Error:
test_columns(TC_Tables_XPath):
WIN32OLERuntimeError: Unknown property or method `navigate'
    HRESULT error code:0x80010108
      The object invoked has disconnected from its clients.
    C:/Program Files/Watir/unittests/../watir.rb:1324:in `method_missing'
    C:/Program Files/Watir/unittests/../watir.rb:1324:in `goto'
    C:/Program Files/Watir/unittests/../unittests/table_xpath_test.rb:15:in `gotoTablePage'
    C:/Program Files/Watir/unittests/../unittests/table_xpath_test.rb:11:in `setup'
Could you elaborate on the installation procedure I need to follow? I have Watir 1.4.1 and the tar file from CVS. I also have Ruby 1.8.2 installed> I don't think I need to re-install Ruby but I've tried installing Watir from scratch. When I run all_tests.rb I get a series of dots with a couple of Fs (fail?), followed by a lot of activity, then it appears to freeze; when I close IE I get a load of Es and Fs followed by messages simialr to the one above. I'm sure when I first installed this everything was straightforward and worked first time.
 
Anyway, what should I be doing with the contents of the tar file? Do I simply copy everything from the tar file to the Watir installation directory?
 
Thanks for your time
 
Regards
 
Chris
-----Original Message-----
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

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

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

Reply via email to