SuperTester
6 years agoContributor
Modifying a script to compare PDF's
Hi!
I have a script that uses Acrobat DC to perform a PDF comparison. I need to add two more steps in the script in order to make a effective comparison. I'm not sure how to correctly map to th...
- 6 years ago
Hi Kahle
Personally I would not do it that way. Smartbear have a whole example on how to compare using pdfbox
https://support.smartbear.com/articles/testcomplete/testing-pdf-files-with-testcomplete
Images
I have used this before (comparing both image and text) and you can pretty much copy/paste the examples and setup as described and it "just works"! I used it to compare hundreds of pdf reports in a single test run (the reports were for a legacy app where you couldn't generate any other kind of format).
If you still want to use your original solution though this page might help where they mention exposing more of the adobe reader properties with MSAA (though the article is from 2016)
https://support.smartbear.com/viewarticle/65847/
m