Bugs item #2329, was opened at 2005-08-28 23:56
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=487&aid=2329&group_id=104
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Error with XML data and link inside DIV tag
Initial Comment:
When accessing a link inside a DIV tag, where the link is associated with an
XML data island (is this what they're called?), Watir generates an error when
trying to call the click method.
This error appeared in version 1.3. Initially I thought it was related to
nested frames, but it seems to be related to a link in a DIV, or related to the
XML data embedded in the page.
This code:
require 'Watir'
include Watir
$ie=IE.attach(:title,"Test")
$ie.showLinks #(links are shown)
$ie.link(:text,"Create").click #(returns an error)
Generates this error:
WIN32OLERuntimeError: tags
OLE error code:80020003 in <Unknown>
<No Description>
HRESULT error code:0x80020003
Member not found.
from d:/ruby/lib/ruby/site_ruby/1.8/Watir.rb:969:in `method_missing'
from d:/ruby/lib/ruby/site_ruby/1.8/Watir.rb:969:in `getLink'
from d:/ruby/lib/ruby/site_ruby/1.8/Watir.rb:3148:in `initialize'
from d:/ruby/lib/ruby/site_ruby/1.8/Watir.rb:537:in `new'
from d:/ruby/lib/ruby/site_ruby/1.8/Watir.rb:537:in `link'
from (irb):7
from :
Find the sample HTML in the attachment.
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=487&aid=2329&group_id=104
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general