[Wtr-general] clicking on a link problem
David.J.Solis at wellsfargo.com
David.J.Solis at wellsfargo.com
Wed Feb 1 16:21:40 EST 2006
I encountered an error that I cannot figure out. In my code, I'm linking
to a new page using
$ie.link(:text, "Administration").click
But instead, I get this error:
WIN32OLERuntimeError: Unknown property or method `document'
HRESULT error code:0x80010108
The object invoked has disconnected from its clients.
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1347:in `method_missing'
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1347:in `document'
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:899:in `getLink'
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2841:in `initialize'
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:570:in `new'
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:570:in `link'
I have no idea what is causing this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060201/dce4115c/attachment.html
More information about the Wtr-general
mailing list