List Info

Thread: nested frames




nested frames
user name
2006-06-19 21:17:53
ie.frame(:name,"foo").show_all_objects

frames show up as type "HTML".  Then if you have
a frame called "bar" you can do

ie.frame(:name,"foo").frame(:name,"bar&qu
ot;).show_all_objects


On 6/19/06, Beth Ferguson <bethsqualor.com> wrote:
> How can i discover the names of nested frames with
Watir?
>
> Thanks-
>
> Beth
>
> _______________________________________________
> Wtr-general mailing list
> Wtr-generalrubyforge.org
> htt
p://rubyforge.org/mailman/listinfo/wtr-general
>
_______________________________________________
Wtr-general mailing list
Wtr-generalrubyforge.org
htt
p://rubyforge.org/mailman/listinfo/wtr-general
nested frames
user name
2006-06-20 08:19:46
Or you can use something along the lines of:

    ie.frame(:index, 1).show_frames

This will show all frames within the top level frame with
index 1.
The frame name could obviously be used instead of frame
index.

Cheers,
Daniel.

On 19/06/06, Chris McMahon <christopher.mcmahongmail.com> wrote:
> ie.frame(:name,"foo").show_all_objects
>
> frames show up as type "HTML".  Then if you
have a frame called "bar" you can do
>
>
ie.frame(:name,"foo").frame(:name,"bar&qu
ot;).show_all_objects
>
>
> On 6/19/06, Beth Ferguson <bethsqualor.com> wrote:
> > How can i discover the names of nested frames with
Watir?
> >
> > Thanks-
> >
> > Beth
> >
> > _______________________________________________
> > Wtr-general mailing list
> > Wtr-generalrubyforge.org
> > htt
p://rubyforge.org/mailman/listinfo/wtr-general
> >
> _______________________________________________
> Wtr-general mailing list
> Wtr-generalrubyforge.org
> htt
p://rubyforge.org/mailman/listinfo/wtr-general
>
_______________________________________________
Wtr-general mailing list
Wtr-generalrubyforge.org
htt
p://rubyforge.org/mailman/listinfo/wtr-general
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )