[Webtest] dynamic number of inputfields
Laval Chung
webtest@lists.canoo.com
Mon, 20 May 2002 15:01:59 +0400
This is a multi-part message in MIME format.
------=_NextPart_000_0010_01C2000F.4A6EA5B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
In a page, the number of inputfields are dynamically created from the =
data in the database.
So that i don't know in advance how many inputfields i'm going to =
verify.
Is there a way to do a select statement using the sql tag and store
the count value in a property tag so that i can use that property
in a repeat loop to verify the inputfields?
Or are there other solutions to this problem?
Cheers
laval
------=_NextPart_000_0010_01C2000F.4A6EA5B0
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 5.50.4725.2100" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>In a page, the number of inputfields =
are=20
dynamically created from the data in the database.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>So that i don't know in advance how =
many=20
inputfields i'm going to verify.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Is there a way to do a select statement =
using the=20
sql tag and store</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>the count value in a property tag so =
that i can use=20
that property</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>in a repeat loop to verify the=20
inputfields?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Or are there other solutions to this=20
problem?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Cheers</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>laval</FONT></DIV></BODY></HTML>
------=_NextPart_000_0010_01C2000F.4A6EA5B0--