Please log this as a regression bug in Jira.

Workaround is
ie.frame("top").text.include? "there"

Bret

Alan Ark wrote:
>
> Hi folks.
>
> Environment:
> Windoze XP pro
> Ruby 1.8.5 – One click installer.
> Watir 1.5.1.1081 – gem install
>
> I was looking at a page that contains frames, and I had some trouble 
> using the following command under irb:
>
> ie.frame("top").contains_text("there") -> undef’d method “contains_text”
>
> Then issuing
>
> ie.frame(“top”).public_methods
>
> It appears that contains_text is no longer available as a public 
> method to a frame.
>
> I’m going to see if I can come up with a different way to verify my 
> results page, but I thought that someone might have some insight on 
> this one.
>
> Thanks
>
> -Alan
>
> example HTML to create the frameset:
>
> Source of frameset
>
> <html>
>
> <frameset rows="50%,*" cols="50%,*">
>
> <frame name="top" src="top.html">
>
> <frame name="bottom" src="bottom.html">
>
> </frameset>
>
> </html>
>
> Source of a frame content file
>
> <html>
>
> Hello there
>
> </html>
>
> ------------------------------------------------------------------------
>
> *Alan Ark* *|* **Lead QA Engineer ****|** **Complí** **| 
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ****|** **office:** 
> 503.294.2020 *|* *fax:* 503.294.1200 **|** www.compli.com 
> <http://www.compli.com/>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.12.5/450 - Release Date: 9/18/2006
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general

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

Reply via email to