------art_45933_14782172.1183001354487
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

What does ie.frame("facframe") yield?


On 6/26/07, Jack <jack / ss.com> wrote:
>
> I am new to Ruby and Watir. I need to access a frame (iframe) in a
> popup window and click a link in the frame. The frame tag is as
> follows:
>
> <iframe idý®frame srctools/faclist.jsp?ESOLsort
me"
> width00%" height00%" frameborder"></iframe>
>
>
> If I ie.show_frames I get the following:
>
> there are 1 frames
> frame  index: 1 name:
>
>
> Here is my code:
>
> ie  atir::IE.attach(:url,"mypage.jsp") #
> ie.frame(:id, "facframe").link(:text, "mylink").click
>
>
> Apparently, you can not access a frame by its id. If there is no
> "name" attribute, how do you get access to the frame?
>
> ruby 186-25
> Watir 1.5.1.1081
>
> Any ideas would be great. TIA.
> -Jack
>
>

------art_45933_14782172.1183001354487--