For the replaceFilter step you might need to escape
the special characters, e.g. ©

As for the verifyContent step, I can't tell if this
is a bug from the information provided. If you open the
files in a non-XML aware editor are they the same?
Do they have the XML character entity representation
or the actual copyright character?

Cheers, Paul.

Chang Su wrote:
Hi,

my screen contains special chars such as

          Copyright</span>&#169;


and

          <td>&#160;</td>


when I use verifyContent, it always returns the
response html file differs from the reference file for
 the lines which contains the special chars (&#169;
and &#160; ) through the files are actually the same.

Is this webtest bug? I try to filter only the special
char by doing,

        <replaceFilter regex='(?s)&#160;'
        replacement="special char REMOVED"/>
        <replaceFilter regex='(?s)&#169;'
        replacement="special char REMOVED"/>



but could NOT get it  to work.

any help is appreciated.

thanks,

Chang

thanks,

Mary



____________________________________________________________________________________ No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail _______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest



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

Reply via email to