Hi,

remember that verifyText works on the source code received from server
therefore if the server sent

Laurel & Hardy

you have to use

<verifyText text="Laurel &amp;amp; Hardy"/>

Cheers,
Marc.
-- 
Web: http://www.efficient-webtesting.com
Blog: http://mguillem.wordpress.com


Gary Jones wrote:
> In six words: How do I do this please?
> 
> I have tried <verifyText text="Laurel &#38; Hardy"/>, I have tried
> <verifyText text="Laurel &amp; Hardy"/> but both failed to find the
> text in the page. In desperation I even tried <verifyText text="Laurel
> & Hardy"/> but was told that "The entity name must immediately follow
> the '&' in the entity reference." All I could find in the archives
> related to ampersands in URLs, not in the page content.
> 
> I am using xml to write my tests, as you might guess, rather than
> groovy. R1724.
> 


_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to