如何使用 QTP/VBScript 将 PDF 中的内容提取到字符串中?
我需要使用 QTP 验证 PDF 中的特定内容。如何使用QTP/VBScript 将 PDF 中的内容获取到字符串中。这样,我就可以验证 PDF 中的内容。
I need to validate a particular content from the PDF using QTP. How I can get the content from the PDF into the string Using QTP/VBScript. So that, I can validate the content in the PDF.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请访问此处。你会得到答案,这是在 QTP 中处理 PDF 的方法之一。您还可以通过传递键(即 Ctrl+a 然后 Ctrl+c)从 PDF 获取数据,然后将此数据复制到剪贴板和剪贴板。使用此数据与您的标准数据进行比较
从 PDF 获取数据的示例函数,当在浏览器中打开 PDF 报告时,其创建时间在数据表中传递
让我知道这是否解决了您的问题,还有其他替代方法用于 PDF 报告测试QTP
Do visit Here. You will get your answer, this is one of the menthod to work with PDF in QTP. You can also fetch data from PDF by passing Keys i,e, Ctrl+a then Ctrl+c then copy this data to Clipboard & use this data for comparing with your standard data
Sample Function For Getting data from PDF, When PDF report is open in Broweser whose creation time is passed in datatable
Let me know if this solves your problem, there are also other alternatives for PDF Report testing using QTP