[Webtest] Ant Tasks don't work properly

Veit Guna webtest@lists.canoo.com
Thu, 27 Jul 2006 23:17:38 +0200


Hi.

I would like to use simple ant tasks in a webtest task. But all I get is:

     [null] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: null
(33/37)
     [null] INFO (com.canoo.webtest.steps.Step) -
WrappedSteps.attributes not found.
     [null] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: null
(34/37)
     [null] INFO (com.canoo.webtest.steps.Step) -
WrappedSteps.attributes not found.
     [echo] ${timestamp}
     [null] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: null
(35/37)
     [null] INFO (com.canoo.webtest.steps.Step) -
WrappedSteps.attributes not found.
     [null] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: null
(36/37)
     [null] INFO (com.canoo.webtest.steps.Step) -
WrappedSteps.attributes not found.
     [echo] ${newuser}
[setInputField] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step:
setInputField (37/37)

I'm using the tasks as follows:

<target name="test">
<webtest name="Test the registration">
&config;
<steps>
	<tstamp>
		<format property="timestamp" pattern="ddMMyyhhmmss" />
	</tstamp>  			
	<echo message="${timestamp}" />
	<property name="newuser" value="user${tstamp}" />
	<echo message="${newuser}" />
	
	<setInputField value="${newuser}" forLabel="Benutzername" />
</steps>
</webtest>
</target>
</project>


Any hints what I'm doing wrong? The examples on the manual pages look
similar...

regards,
Veit