Forum Discussion
3 Replies
- shankar_rCommunity Hero
If you are testing only a few String then you can use the MSAA control.
If you want to test more stuff then I would suggest using this article.
https://support.smartbear.com/articles/testcomplete/testing-pdf-files-with-testcomplete/
- mcp111Contributor
Thanks
shankar_r wrote:
If you are testing only a few String then you can use the MSAA control.
If you want to test more stuff then I would suggest using this article.
https://support.smartbear.com/articles/testcomplete/testing-pdf-files-with-testcomplete/
- jab4743Contributor
Sure ... if you don't want to use the Apache PDFBox - generally you can use a file checkpoint after saving the pdf somewhere - if the pdf displays online you could do an image compare - if the pdf displays online you could use OCR. Image compare checkpoint isn't perfect - file compare checkpoint isn't perfect - ocr logic isn't perfect. All have issues you might have to work thru - for example if you each time you produce the pdf - does the pdf contain a current date that you have to account for..... you need to determine which option works best in your environment.