[Webtest] verifyText with double quotes

dav dav <dav@nnx.com>
Tue, 05 Aug 2008 00:53:16 +0200


Did you try simply using ... text='the string with the "word" in
it' /> ?

another way: use regex and dot to parse one char.

david.
--


Le lundi 04 août 2008 à 11:26 -0400, JS Bournival a écrit :
> I guess this is a recurrent problem, but I haven't found anything
> suitable in the archives.
> 
> I have the error string on my web page, telling the user he has an
> error while submiting the form.  I want to verify that the message
> appears.  But the message contains " (double-quotes), and I don't know
> what is the trick to make them work in my test step:
> 
> <verifyText text="this is my text &quot;this part is between
> quotes&quot;" />
> 
> Thank you.
> 
> P.S. the char encoding of my page is ISO-8859-1 ... dunno if that is
> an issue
> 
> -- 
> JS.
> --------------------------
> js@jipiju.com
> http://js.jipiju.com
>