Hi,
You can use ANT's tstamp to define a property dynamically when running the
tests like:
<tstamp> <format property="toDate" pattern="yyyy-MM-dd" locale="en,US"/>
</tstamp>
...and then use it in your WebTest steps like
<verifyInputField name="toDate" value="${toDate}"/>
Hope that helps.
Michael
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Iain_10
Sent: Dienstag, 2. Februar 2010 10:12
To: [email protected]
Subject: [Webtest] Using verifyInputField to verify date
Hi,
I am testing a date field that is always set to the current days date using
the following
xml command:
<verifyInputField name="toDate" value="2010-02-01"/>
Is there any way of using this command so that it will always check for
the current days date?
thanks!
--
View this message in context:
http://old.nabble.com/Using-verifyInputField-to-verify-date-tp27417335p27417335.html
Sent from the WebTest mailing list archive at Nabble.com.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest