Jared,

I checked in a fix for this bug. This was quite hairy.

The problem occured because you have XML data with an id of 'tags'. This blocks our normal call to document.all.tags(TAGNAME).

Thanks for the detailed report.

Bret

At 12:33 AM 8/9/2005, you wrote:
Hi Bret,

Paul sent me an e-mail following this up a while back, and I sent this information back but got no response.. This is an issue I had related to errors from Watir when I tried to click on a link. The 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.

I've attached a zip file of a page which reproduces the error. With the attached file open in IE -

require 'Watir'
include Watir
$ie=IE.attach(:title,"Test")
$ie.showLinks  #(links are shown)
$ie.link(:text,"Create").click  #(returns an 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 :

Thanks for your help with this...I'm really hanging out to use 1.4. I haven't been able to find a workaround, so I'm still on 1.2 :)

Jared


-------- Original Message --------
Subject:        Re: [Wtr-general] Problem with multiple frames
Date:   Wed, 20 Jul 2005 17:33:34 +1000
From:   Jared Quinert <[EMAIL PROTECTED]>
Reply-To:       [EMAIL PROTECTED]
To:     Paul Rogers <[EMAIL PROTECTED]>
References:     <[EMAIL PROTECTED]>



Hi Paul,

I think the issue I've had isn't actually related to frames at all. I finally had some time today to try and track this down.

With the attached file open -

require 'Watir'
include Watir
$ie=IE.attach(:title,"Test")
$ie.showLinks  (links are shown)
$ie.link(:text,"Create").click (returns an 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 :

Let me know if you need any more information, and thanks for your help!

Jared



Paul Rogers wrote:

Hmm. Maybe that bug only just appeared. Whats the problem you are
seeing?

Paul

-----Original Message-----
From: Jared Quinert [mailto:[EMAIL PROTECTED] Sent: 11 May 2005 20:33
To: [EMAIL PROTECTED]
Subject: Re: [Wtr-general] Problem with multiple frames


Paul Rogers wrote:



There is a bug in here when you use subframes. Its not hard to fix it,
but may have repurcussions. I'll discuss it with Bret next week. Is the sleep solution ok for you to use for now?



Hi Paul,

Is this a general frames issue, or specific to the wait problem mentioned? My nested frames seem to have broken from version 1.2 to version 1.3.

Thanks,

Jared









_____________________
 Bret Pettichord
 www.pettichord.com

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

Reply via email to