I have been tasked to research an application that can automate document validation that will validate document appearance and other relative information within the document which are currently being done manually. Now the question, Is it possible to test PDF document using Winrunner application?
PDFs are one of those bains of the WR test tool that just can't be interfaced with. Some of the web objects realted to the PDF can be checked like page count and such, but nothing internally to the document.
I was able to achieve some level of success for validating expected pdf content by installing a postscript printer driver capable of printing to a file and checking the content of the resulting text file. I then used ultraedit to wrap lines over 256 chars such that winrunner read upto it max str length, not a perfect solution but it met our needs.
Then loop through the file for each piece of expected text etc, hope this helps.