Hello,

when executing the following test on a pdf document

       <pdfVerifyPageCount count="@{numpages}"/>
<verifyContent readFiltered="false" referenceFile="expectations/klima_pdf_bookmarks.txt" >
              <pdfToTextFilter description="PDF Text holen"/>
              <lineSeparatorFilter description="Zeilentrenner angleichen"/>
       </verifyContent >

the test fails with the following message: "The following error occurred while executing this line: ..._macros.xml:198: Current response and the reference differ.

It's ok, that the test fails, because it is true that the referenceFile differs. However, I have no idea how the reference file should look like.

I saw in the webtest selftests (pdfText.xml) that the selftests uses the pdfToFilter step in the same way as I did. However the result of the pdfToTextFilter of the selftest produces a link "Resulting page" on the Webtest-Report that shows the result of the pdfToTextFilter. Unfortunately this link does not appear on my own Webtest-Report, so i do not have the slightest idea how the referenceFile should be setup.Obviously I'm missing something.
Can somebody help, please?

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

Reply via email to