Hi Frank, I am confused, how can I use verifyProperty to see if one string lexicographically less or equal to another string. All I can do with verifyXPath is to use regular expression to do some sort of fuzzy match. Could you elaborate?
Thanks, Koorosh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Langanke, Frank Sent: Tuesday, August 15, 2006 11:10 PM To: [EMAIL PROTECTED] Subject: RE: [Webtest] How to compare two strings using XPATH? Hi, As a quick work around you just could replace your verifyXpath task with verifyProperty > <verifyXPath description="Compare previous against current product" > xpath="compare(#{previousProduct},#{currentProduct}) < 1" > /> <verifyProperty description="Compare preProd to currentProd" name="currentProduct" text="#previousProduct"/> Cheers, 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

