TestComplete should have come with PDF content valiation. Right now we are using pdfbox to extract the content but it is not giving us in the correct layout. It can't be used for anytype of validatio...
PDF Content Validation
maximojo
7 years agoFrequent Contributor
Unfortunately I no longer have the script available to me. However, all of it was based on the scripts below provided by Smartbear around pdfbox:
https://support.smartbear.com/articles/testcomplete/testing-pdf-files-with-testcomplete/
Extract image from pdf:
https://support.smartbear.com/articles/testcomplete/testing-pdf-files-with-testcomplete/#Extr_img
Compare image from pdf:
So if you have a the pdfbox integration setup as Smartbear describes:
1) Take a screen shot of your document for reference
2) Go back and generate a screenshot and compare it to that reference
Hopefully they will match.
m
Related Content
- 8 years ago
- 2 years ago