sameerjade
8 years agoFrequent Contributor
PDF comparison - error with Java Class
Hi,
I am learning how to compare PDFs in TestComplete using the PDFBox. When using the function "loadDocument(fileName)", it gives an error on the line "JavaClasses.org_apache_pdfbox_pdmodel.PDDocument.load_3(fileName)".
The error is:
"Object doesn't support this property or method"
I have the required four Java Classes added in TestComplete (image attached).
I found a similar thread here where it was mentioned to use an older version of PDFBpx 1.8.12.jar. I am using the latest version 2.0.5.jar. Do I have to go to an older version for this to work? Seems strange..
Any suggestions? Thank you.
-Sameer