2 messages in com.canoo.lists.webtest[Webtest] Repeat bug| From | Sent On | Attachments |
|---|---|---|
| Sritharan, Jayanthan | 15 Nov 2006 08:30 | |
| Marc Guillemot | 16 Nov 2006 01:21 |
| Subject: | [Webtest] Repeat bug![]() |
|---|---|
| From: | Sritharan, Jayanthan (jsri...@northnetwork.com) |
| Date: | 11/15/2006 08:30:29 AM |
| List: | com.canoo.lists.webtest |
*note: sorry if this is a re-post, my first attempt to post doesn't seem to have worked
Hi, I am trying to run a loop that accesses a set of properties. The properties are indexed from 1 to 10. Inside a Repeat loop when I append the 'count' to my property name, canoo seems to have a bug which sometimes doesn't allow me to access the properties. I have installed the latest build, but that doesn't seem to have fixed the problem. Usually the fourth, fifth, and seventh properties aren't accessible to me, but it does change from time to time.
Any help would be appreciated.
Thanks,
Jaya Sritharan
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project SYSTEM "../../config/WebTest.dtd"[
<!ENTITY config SYSTEM "../../modules/config_registry.xml">
]>
<project basedir="." default="main" name="Registry">
<property location="../.." name="webtest.home"></property>
<property file="properties/localhost.properties"/>
<target name="main">
<webtest name="Sample Repeat Failure">
&config;
<steps>
<storeProperty name="variable1" value="first_variable"/>
<storeProperty name="variable2" value="second_variable"/>
<storeProperty name="variable3" value="third_variable"/>
<storeProperty name="variable4" value="fourth_variable"/>
<storeProperty name="variable5" value="fifth_variable"/>
<storeProperty name="variable6" value="sixth_variable"/>
<storeProperty name="variable7" value="seventh_variable"/>
<storeProperty name="variable8" value="eighth_variable"/>
<storeProperty name="variable9" value="ninth_variable"/>
<storeProperty name="variable10" value="tenth_variable"/>
<repeat step="1" startcount="1" endcount="10" counterName="count">
<storeProperty name="tempName" value="variable#{count}"/>
<storeProperty name="value" value="#{#{tempName}}"/>
</repeat>
</steps>
</webtest>
</target>
</project>




