[Webtest] how does followframe work ?

Parker, Michael webtest@lists.canoo.com
Mon, 26 Jul 2004 07:16:09 +0200


Hi,

every application starts with a frame in an entry.jsp like this:

<FRAMESET rows=3D"207, *, 1" frameborder=3D"no" marginwidth=3D"0" marginhei=
ght=3D"0"
border=3D"0"  framespacing=3D"0" scrolling=3D"no">
 <FRAME src=3D'header.jsp?grafik...' name=3D"header" frameborder=3D"no"
marginwidth=3D"0" marginheight=3D"0" border=3D"0"  framespacing=3D"0"
scrolling=3D"no">
 <FRAME
src=3D'do.vpms;jsessionid=3DC27242FB9D092C16BF1D599D89DA25B1?...jvpms_uri=
=3Ds_unv_
vp0.jsp...' name=3D"formframe" frameborder=3D"no" marginwidth=3D"0"
marginheight=3D"0" border=3D"0"  framespacing=3D"0" scrolling=3D"auto">
 <FRAME src=3D"leer.html" name=3D"jvpms_hidden_frame">
 <FRAME src=3D"f_vtsbt.html;jsessionid=3DC27242FB9D092C16BF1D599D89DA25B1"
name=3D"VTSBT" >


In the past I could avoid using followframe by invoking directly the desired
"main"-frame (frame no. 2) like s_unv_vp0.jsp  in this example.

Because of some necessary initializing done in the entry.jsp now I need to
invoke entry.jsp.
After that I tried to do a=20

        <invoke stepid=3D"..."
          url=3D"/ri_unvr/jsp/do.vpms?...jvpms_uri=3Dentry.jsp..."=20
          username=3D"${username}"=20
          password=3D"${password}" />=20
         =20
          <followframe  name=3D"formframe"=20
             resultfilename=3D"Formframe" />=20


But canoo gives me a=20

com.canoo.webtest.engine.StepFailedException: Step "Ab in den Formframe"
(3/6) Frame not found with name: formframe available: [_top], Step:
FollowFrame at
file:D:/SEU/Projekte/ccCanooUNV/cases/all/unv_04-09-system2_policierung.xml:
46: with (resultfilename=3D"Formframe", name=3D"formframe",
stepType=3D"followframe")

Any help or

_______________________________________________
AXA Service AG
MICHAEL PARKER
PROGRAMMER/ANALYST
Colonia-Allee 10-20; D-51067 K=F6ln
Tel.: +49 (0)221 - 148 - 24 173
Fax:  +49 (0)221 - 148 - 44 - 42 663
E-Mail: mailto:Michael.Parker@axa.de
_______________________________________________



---------------------------------------------------------------------------=
---
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Infor=
mation nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reiche=
n wir Ihnen gerne auf Anforderung in schriftlicher Form nach. Beachten Sie =
bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung, Vervi=
elfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet ist.=
 Diese Nachricht  ist ausschliesslich fuer den bezeichneten Adressaten oder=
 dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat dies=
er E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem Absen=
der der E-Mail in Verbindung zu setzen.
----------------------------
For legal and security reasons the information provided in this e-mail is n=
ot legally binding. Upon request we would be pleased to provide you with a =
legally binding confirmation in written form. Any form of unauthorised use,=
 publication, reproduction, copying or disclosure of the content of this e-=
mail is not permitted. This message is exclusively for the person addressed=
 or their representative. If you are not the intended recipient of this mes=
sage and its contents, please notify the sender immediately.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D