We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
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
https://support.smartbear.com/articles/testcomplete/testing-pdf-files-with-testcomplete#Comparing_imgs
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
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
https://support.smartbear.com/articles/testcomplete/testing-pdf-files-with-testcomplete#Comparing_imgs
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