[Webtest] Iterating pages?
Mike Lecza
webtest@lists.canoo.com
Mon, 30 Dec 2002 08:59:28 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_0078_01C2AFE1.C245C550
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Thanx for the reply. Are you saying that there is something in HttpUnit
that would help?
=20
=20
Regards,
Mike
=20
-----Original Message-----
From: webtest-admin@gate.canoo.com [mailto:webtest-admin@gate.canoo.com]
On Behalf Of Dierk Koenig
Sent: Monday, December 30, 2002 8:51 AM
To: webtest@gate.canoo.com
Subject: RE: [Webtest] Iterating pages?
=20
Hi Mike,
=20
Currently, there is no easy way. (but would make for good
contribution:-)
=20
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.
=20
If that is not possible, you be left with using HttpUnit directly (not
too bad either).
=20
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.
=20
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 =93Finished=94 page. So basically I want Canoo =
to
keep submitting answers until the Finished page is reached.
=20
I see the repeat option but that is only good if I want to repeat for a
specific number of times =96 I want to repeat until a certain page is =
hit.
=20
Regards
------=_NextPart_000_0078_01C2AFE1.C245C550
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=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.emailstyle17
{font-family:Arial;
color:windowtext;}
span.EmailStyle18
{font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Thanx for the reply.=A0 Are you =
saying that
there is something in HttpUnit that would help?</span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Regards,</span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Mike</span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> =
webtest-admin@gate.canoo.com
[mailto:webtest-admin@gate.canoo.com] <b><span =
style=3D'font-weight:bold'>On
Behalf Of </span></b>Dierk Koenig<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Monday, December =
30, 2002
8:51 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
webtest@gate.canoo.com<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: [Webtest] =
Iterating
pages?</span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>Hi =
Mike,</span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>Currently, there =
is no
easy way. (but would make for good contribution:-)</span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>One possibility =
is to set
up your webapp in a way that you can foresee the number of =
steps.</span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>We sometimes use =
a
special "administration servlet" to this =
end.</span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>If that is not =
possible,
you be left with using HttpUnit directly (not too bad =
either).</span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>cheers and a =
Happy New
Year</span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>Mittie</span></fo=
nt></p>
</div>
<blockquote style=3D'border:none;border-left:solid blue =
1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'=
>
<p class=3DMsoNormal =
style=3D'margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b>
webtest-admin@lists.canoo.com =
[mailto:webtest-admin@lists.canoo.com]<b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>Mike Lecza<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Montag, 30. =
Dezember 2002
14:34<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
webtest@gate.canoo.com<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [Webtest] =
Iterating
pages?</span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>With Canoo - Is there a way =
to
iterate a bunch of steps until a final page is hit.</span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>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.</span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>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.</span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Regards</span></font></p>
</blockquote>
</div>
</body>
</html>
------=_NextPart_000_0078_01C2AFE1.C245C550--