Forum Discussion
Thank you, Robert. I updated to the older version 1.8.12 and went to dll properties to 'unblock' them. Even after that I am getting the same error at the same point. The error happens in the following line. The issue is with the part "load_3" as TestComplete doesn't recognize load_3. I am not sure where it comes from. This is the line from here. I saw a similar thread here and tried some steps but it does not solve my problem.
docObj = JavaClasses.org_apache_pdfbox_pdmodel.PDDocument.load_3(fileName);
-Sameer
One thing about "load_3" is that this is an overloaded function within PDFBox.... so, within the code of PDFBox there is no actual "load_3", just another load function with a different set of parameters. TestComplete interprets these overloaded functions as load, load_1, load_2, etc....it's entirely possible that TC, instead of having "load_3" actually has load_2... you will need to examine the objects to determine what is available.
- sameerjade8 years agoFrequent Contributor
Ok. Thanks. After some more investigation, I found what the issue was. Under TestComplete > current project properties > Java Bridge >class paths, I only had the pdfbox-1.8.12.jar. I added the rest and now it recognizes all the load methods..load, load_3 etc.