[Webtest] Using a property for a repeat count

Sean Flynn webtest@lists.canoo.com
Wed, 22 Oct 2003 17:03:38 +0000

When I execute the following script I get a java.lang.NumberFormatException: 
For input string: "#{ordersToSchedule} error. I have checked that the 
property value is correct. I need to be able to vary the number of 
iterations based upon data I extract from the page. Can I do this with 

<verifytitle stepid="Verify we are at the home page"
	text="${home.title}"  />
	stepid="Look for the # of orders to schedule"
	property="ordersToSchedule" />
<repeat count="#{ordersToSchedule}">
	<verifytext stepid="Look for # of orders"
		text="#{ordersToSchedule}" />

Add MSN 8 Internet Software to your current Internet access and enjoy 
patented spam control and more.  Get two months FREE!