Hi, it works fine, thank's a lot.
Cheers, Dariusch WSoula wrote: > > For: > <table> > <td name="td">I have extra space after me > </td> > </table> > > This works: > <verifyXPath xpath="//table[wt:cleanText(td)='I have an extra space after > me']"/> > > The other way to verify text in xpath is to use the text() function but > this only works if there is no trailing space so it won't work in the > above example but will work in the following example: > <table> > <td name="td">I do not have extra space</td> > </table> > > <verifyXPath xpath="//table[td/text()='I do not have extra space']"/> > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of dariusch > Sent: Wednesday, September 24, 2008 10:44 AM > To: [email protected] > Subject: [Webtest] How can i use wt:cleanText > > > Hello, > > i can't find this possibility, how can i use it? Maybe you show me an > example like this: > > <webtest name="my simple Test"> > <invoke > url="http://www.myserver.com:8080/myApp/login" > description="get Login Page" /> > > call "wt:cleanText" > > <verifyTitle > text="Login Page" > description="we should see the login title" /> </webtest> > > Cheers, > Dariusch > -- > View this message in context: > http://www.nabble.com/How-can-i-use-wt%3AcleanText-tp19651744p19651744.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 > > -- View this message in context: http://www.nabble.com/How-can-i-use-wt%3AcleanText-tp19651744p19664784.html Sent from the WebTest mailing list archive at Nabble.com. _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

