[Webtest] Repeat property expansion question
webtest@lists.canoo.com
webtest@lists.canoo.com
Wed, 17 Dec 2003 10:08:01 +0000
This is a multipart message in MIME format.
--=_alternative 0037AA2D80256DFF_=
Content-Type: text/plain; charset="us-ascii"
When creating a loop it would be very useful to be able to have the loop
count loaded from a property file, and then have each of the values used
within the loop also loaded from properties. Thus a property file might
contain:
test.loopCount=4
test.loopValue.0=A
test.loopValue.1=B
test.loopValue.2=C
test.loopValue.3=D
To achieve this we seem to need an ant expression of the style
"${test.loopValue#{count}}" to evaluate correctly.
Is there a way of doing this?
___________
Cambista Technologies... www.Cambista.net
David Howard, Senior Technical Consultant.
_____________________________________________________________________
This e-mail and attachments has been scanned for viruses. Please email virus@cambista.net if you have detected a virus in this mail.
--=_alternative 0037AA2D80256DFF_=
Content-Type: text/html; charset="us-ascii"
<br><font size=2 face="sans-serif">When creating a loop it would be very useful to be able to have the loop count loaded from a property file, and then have each of the values used within the loop also loaded from properties. Thus a property file might contain:</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
<br>
test.loopCount=4</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
test.loopValue.0=A</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
test.loopValue.1=B</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
test.loopValue.2=C</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
test.loopValue.3=D</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
<br>
To achieve this we seem to need an ant expression of the style "${test.loopValue#{count}}" to evaluate correctly.</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
Is there a way of doing this?</font><font size=3 face="Times New Roman"> </font>
<br>
<br><font size=2 face="sans-serif">___________<br>
Cambista Technologies... www.Cambista.net<br>
David Howard, Senior Technical Consultant.<br>
</font>
--=_alternative 0037AA2D80256DFF_=--