[Webtest] Dealing with frames
Stefan G. Renz
webtest@lists.canoo.com
Fri, 16 Aug 2002 09:29:55 +0200
On Thursday 15 August 2002 19:44, Carlo E. T. Oliveira wrote:
> Is there any primitves to deal with frames? If I invoke a page
> describing frames, how do I get to each frame? Or could it be a way to
> find a tag regardless of the frame it appears? I tried the normal
> primitives but when invoking the framed page it failed. I had to figure
> out the particular frame url and invoke it to work. I looked for a way
> to select the frame in the api but did not discovered how.
RTFM: In doc/Cookbook.html, there's a chapter on how to deal with frames.
Basically, you need to request the page containing the <frameset>, then you
can ask the WebConversation object to return the response of a named frame.
You either need to know the name of the frame, or you can retrieve the list
of currently available frames by WebConversation.getFrameNames().
>
> Carlo
>
Hope it helps,
ciao
Stef