Hey Bret.
I've logged the issue in Jira. Thanks for confirming that
this was indeed a problem. Also thanks for the workaround.
I was using html.include? I like using text better. After
thinking about it, I'm disappointed that I wasn't thinking
about using "text" to workaround the
"contains_text" issue. LOL
Regards
-Alan
-----Original Message-----
From: wtr-general-bounces rubyforge.org
[mailto:wtr-general-bounces rubyforge.org] On Behalf Of
Bret Pettichord
Sent: Tuesday, September 19, 2006 8:26 PM
To: wtr-general rubyforge.org
Subject: Re: [Wtr-general] frame.contains_text missing with
gem build 1081?
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í**
**|
> ****arkie compli.com <mailto:arkie compli.com> ****|** **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
> Wtr-general rubyforge.org
> htt
p://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
Wtr-general rubyforge.org
htt
p://rubyforge.org/mailman/listinfo/wtr-general
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.5/450 - Release
Date: 9/18/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.5/451 - Release
Date: 9/19/2006
_______________________________________________
Wtr-general mailing list
Wtr-general rubyforge.org
htt
p://rubyforge.org/mailman/listinfo/wtr-general
|