[Webtest] xpath attribute escaping

Dierk Koenig webtest@lists.canoo.com
Fri, 16 Jun 2006 15:32:52 +0200


'

cheers
Mittie

> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com]On Behalf Of Thomas Colin de
> Verdière
> Sent: Freitag, 16. Juni 2006 14:52
> To: webtest@lists.canoo.com
> Subject: [Webtest] xpath attribute escaping
>
>
> Hello,
> in my page i have a button with a title attribute that contains a ' i
> would like to verify the text of the button
> using xpath but i can't escape the ', i put a \ but it didn't work :
> <verifyXPath description="check text and title for key F3"
> xpath="//button[@class='kb' and @title='my\'button']"
>    text="F3" />
> Thanks,
> Thomas
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest