Functional PDF Testing (Automate Testing of PDF Content)

99封情书 提交于 2019-12-03 17:31:13

问题


I am working on an application where I am writing some automation framework for testing a web application. I am using Watij / Watin for the framework, but have run into a problem with verifying the PDFs generated have the correct content.

I know I can use IText or a native PDF library to load up the PDF, but I am wondering if there is already an existing framework dedicated to testing PDF file content?


回答1:


it's an interesting problem, but thankfully like most out there, there's someone who has done it before you.

Take a look at http://jpdfunit.sourceforge.net/references/jpdfunit_aShortIntroduction.pdf for information on a PDF testing framework called JPdfUnit.

The program homepage is at http://jpdfunit.sourceforge.net/.

Hope that helps!




回答2:


Simple PDF Automation to read text from PDF document.



来源:https://stackoverflow.com/questions/1923288/functional-pdf-testing-automate-testing-of-pdf-content

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!