[Webtest] Help with using today's date + 10 days
Marc Guillemot
webtest@lists.canoo.com
Wed, 14 Jan 2004 17:19:02 +0100
Hi Tim,
It's more an ant question. I would first define a normal ant property named
"startDate" with the ant <tstamp .../> task like:
<tstamp property="startDate" pattern="dd.MM.yyyy" offset="10" unit="day"/>
Then I would just use the property "startDate" as in your code.
Marc.
----- Original Message -----
From: "Tim Heath" <wgheath@fedex.com>
To: <webtest@gate2.canoo.com>
Sent: Wednesday, January 14, 2004 5:10 PM
Subject: [Webtest] Help with using today's date + 10 days
> I am using webtest and I really like it! I researched a number of other
> web testing tools and the only one I found that was even close to
> webtest was perl mechanize but that is not java.
>
> My code is as follows:
>
> <setinputfield stepid="set start date"
> name="sivo.effectiveDate"
> value="${startDate}" />
>
> I want ${startDate} to be todays date + 10 days. Can I do this with
> webtest? If so how?
>
> Thanks,
>
> Tim Heath
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>