功能 PDF 测试(自动测试 PDF 内容) [英] Functional PDF Testing (Automate Testing of PDF Content)

查看:26
本文介绍了功能 PDF 测试(自动测试 PDF 内容)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个应用程序,我正在编写一些用于测试 Web 应用程序的自动化框架.我正在为框架使用 Watij/Watin,但在验证生成的 PDF 是否具有正确的内容时遇到了问题.

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.

我知道我可以使用 IText 或原生 PDF 库来加载 PDF,但我想知道是否已经有专门用于测试 PDF 文件内容的现有框架?

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?

推荐答案

这是一个有趣的问题,但谢天谢地,就像大多数人一样,有人在你之前做过.

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

看看 http://jpdfunit.sourceforge.net/references/jpdfunit_aShortIntroduction.pdf 获取有关名为 JPdfUnit 的 PDF 测试框架的信息.

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

程序主页位于 http://jpdfunit.sourceforge.net/.

希望有帮助!

这篇关于功能 PDF 测试(自动测试 PDF 内容)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆