Thx Frank, How do I do that?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Frank Langanke
Sent: Thursday, May 04, 2006 8:18 AM
To: [email protected]
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:
>
> <webtest name="extract_build">
> &config;
> <steps>
> &login;
> <storeRegEx
> description="Extract build number"
> text=".*?\(Build (\d+)\).*?"
> group="1"
> property="buildnum"
> />
> <verifyText text="#{buildnum}"/>
> <xslt
> in="webtest-results/results_${sfx}.xml"
> out="csv_dumps/${TestSet}!_#{buildnum}.csv"
> style="csv_dumps/results_csv.xsl"
> force="true"/>
> </steps>
>
> </webtest>
>
Hey Brian,
the #{buildnum} is a webtest property which is unknown to the ant(!!)
<xslt> task. Store the or convert the dynamic property to an static ant
property.
Frank.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest