Hi Stefan,

usually I try:
<pdfVerifyText text="myText.*-ID" regex="true">

probably there is a much better expression.

mfg

Michael Habbert


Stefan Seger schrieb:
Hello,

In our application you can generate PDF reports on tables and forms and I
want to check if the field names of the PDFs are correct.

My test is working so far, but I have a problem when the text is wrapped to
the next line. For example I check for the field content "User-ID", in the
PDF it's called
User
 -ID

So it can happen that there is a blank more in the PDF text as in the text I
want to compare with.
<pdfVerifyText> does not find the text and the test fails.

Is there are a to ignore all blanks ?

Thanks,
Stefan



_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to