[Webtest] properties

Brian Spindler webtest@lists.canoo.com
Thu, 4 May 2006 08:18:35 -0400


Thx Frank, How do I do that?

-----Original Message-----
From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com]On Behalf Of Frank Langanke
Sent: Thursday, May 04, 2006 8:18 AM
To: webtest@lists.canoo.com
Subject: Re: [Webtest] properties


Brian Spindler wrote:
> I am using storeRegEx to store a dynamic property, this works =
successfully however when I try to use the property in an xslt statement =
it does not evaluate, here is the canoo code:
>=20
> <webtest name=3D"extract_build">
> 	&config;
> 	<steps>
> 		&login;
> 		<storeRegEx
> 				description=3D"Extract build number"
> 				text=3D".*?\(Build (\d+)\).*?"
> 				group=3D"1"
> 				property=3D"buildnum"
> 		/>
> 		<verifyText text=3D"#{buildnum}"/>
> 		<xslt=20
> 		in=3D"webtest-results/results_${sfx}.xml"=20
> 		out=3D"csv_dumps/${TestSet}!_#{buildnum}.csv"
> 		style=3D"csv_dumps/results_csv.xsl"
> 		force=3D"true"/>
> 	</steps>
> =09
> </webtest>
>=20

Hey Brian,

the #{buildnum} is a webtest property which is unknown to the ant(!!)=20
<xslt> task. Store the or convert the dynamic property to an static ant=20
property.

Frank.
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest