[Webtest] properties

Denis N. Antonioli webtest@lists.canoo.com
Thu, 4 May 2006 15:30:46 +0200


Indeed.
Or just remove the line, as the following setWebtestProperty() will  
log it anyway (at the debug level).

Thanks
	dna

On 4 mai 06, at 14:53, Brian Spindler wrote:

> The logs are indicating it's a dynamic property but this is hard  
> coded it looks like.  Line 106 in StoreRegExMach.java reads:
>
> LOG.info("Setting dynamic property <" + fProperty + "> to <" +  
> propertyValue + ">");
>
> But shouldn't it read:
>
> LOG.info("Setting " + fPropertyType + " property <" + fProperty +  
> "> to <" + propertyValue + ">");
>
>
> -----Original Message-----
> From:	webtest-admin@lists.canoo.com on behalf of Frank Langanke
> Sent:	Thu 5/4/2006 8:17 AM
> To:	webtest@lists.canoo.com
> Cc:	
> 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
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>
>
>
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest

-- 
The goal [of unit test] is a MTBD (Mean Time Between Defects) that  
doesn't make you unhappy.
   - Kent L. Beck,  junit@yahoogroups.com, 05  mai 2002