Stefan, have you had a look at pdfToTextFilter? In your case it may be easier first to convert to plain text before to perform the verification.
Cheers, Marc. -- Web: http://www.efficient-webtesting.com Blog: http://mguillem.wordpress.com Stefan Seger wrote: > Hi Michael, > > thanks for your suggestion. But I compare the text in the PDF with a > property: > > <pdfVerifyText text="${myProperty}" regex="true"> > > So I can't include any regex symbols such as *. > > Stefan > > > Michael Habbert-3 wrote: >> 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 >> [email protected] >> http://lists.canoo.com/mailman/listinfo/webtest >> >> > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

