[Webtest] Iterating pages?

Dierk Koenig webtest@lists.canoo.com
Mon, 30 Dec 2002 14:51:07 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C2B012.E2793790
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Hi Mike,

Currently, there is no easy way. (but would make for good contribution:-)

One possibility is to set up your webapp in a way that you can foresee the
number of steps.
We sometimes use a special "administration servlet" to this end.

If that is not possible, you be left with using HttpUnit directly (not too
bad either).

cheers and a Happy New Year
Mittie
  -----Original Message-----
  From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com]On Behalf Of Mike Lecza
  Sent: Montag, 30. Dezember 2002 14:34
  To: webtest@gate.canoo.com
  Subject: [Webtest] Iterating pages?


  With Canoo - Is there a way to iterate a bunch of steps until a final page
is hit.



  For example I have a web app that serves up a bunch of questions (1 per
page).  When the user has answered so many question correctly the
application serves up a “Finished” page.  So basically I want Canoo to keep
submitting answers until the Finished page is reached.



  I see the repeat option but that is only good if I want to repeat for a
specific number of times – I want to repeat until a certain page is hit.



  Regards


------=_NextPart_000_0007_01C2B012.E2793790
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2722.900" name=3DGENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in =
1.25in; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
	COLOR: windowtext; FONT-FAMILY: Arial
}
DIV.Section1 {
	page: Section1
}
</STYLE>
</HEAD>
<BODY lang=3DEN-US vLink=3Dpurple link=3Dblue>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D283084513-30122002>Hi=20
Mike,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D283084513-30122002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D283084513-30122002>Currently, there is no easy way. (but would =
make for=20
good contribution:-)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D283084513-30122002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D283084513-30122002>One=20
possibility is to set up your webapp in a way that you can foresee the =
number of=20
steps.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D283084513-30122002>We=20
sometimes use a special "administration servlet" to this=20
end.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D283084513-30122002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D283084513-30122002>If=20
that is not possible, you be left with using HttpUnit directly (not too =
bad=20
either).</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D283084513-30122002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D283084513-30122002>cheers=20
and a Happy New Year</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D283084513-30122002>Mittie</SPAN></FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  webtest-admin@lists.canoo.com =
[mailto:webtest-admin@lists.canoo.com]<B>On=20
  Behalf Of </B>Mike Lecza<BR><B>Sent:</B> Montag, 30. Dezember 2002=20
  14:34<BR><B>To:</B> webtest@gate.canoo.com<BR><B>Subject:</B> =
[Webtest]=20
  Iterating pages?<BR><BR></FONT></DIV>
  <DIV class=3DSection1>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">With Canoo - Is there a =
way to=20
  iterate a bunch of steps until a final page is hit.</SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">For example I have a web =
app that=20
  serves up a bunch of questions (1 per page).&nbsp; When the user has =
answered=20
  so many question correctly the application serves up a =93Finished=94 =
page.&nbsp;=20
  So basically I want Canoo to keep submitting answers until the =
Finished page=20
  is reached.</SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I see the repeat option =
but that=20
  is only good if I want to repeat for a specific number of times =96 I =
want to=20
  repeat until a certain page is hit.</SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Regards</SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0007_01C2B012.E2793790--