There seems to be some issue with WIN32OLE on windows 7 (I am using the last
release candidate). This of course causes problems with Watir. This comes up
with navigating to local URLs. It seems to be fine doing remote stuff:
>> ie=WIN32OLE.new 'InternetExplorer.Application'
=> #<WIN32OLE:0x4645718>
>> ie.visible=true
=> true
>> ie.navigate 'google.com'
=> nil
>> ie.document
=> #<WIN32OLE:0x46377a8>
>> ie.document.title
=> "Google"
>> ie.navigate 'C:/watir/watir/unittests/html/textfields1.html'
=> nil
>> ie.document
WIN32OLERuntimeError: unknown property or method `document'
HRESULT error code:0x800706b5
The interface is unknown.
from (irb):34:in `method_missing'
from (irb):34
The error message seems to vary from time to time. I have also gotten (also
immediately after navigating to a local file):
>> ie.document
WIN32OLERuntimeError: unknown property or method `document'
HRESULT error code:0x80010108
The object invoked has disconnected from its clients.
from (irb):26:in `method_missing'
from (irb):26
and
>> ie.document
WIN32OLERuntimeError: unknown property or method `document'
HRESULT error code:0x800706ba
The RPC server is unavailable.
from (irb):8:in `method_missing'
from (irb):8
-Ethan
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development