Forum Discussion

JoseVazquez-1's avatar
JoseVazquez-1
Occasional Contributor
8 years ago
Solved

Stripping data of pdf files - used to work, now has error "Object doesn't support this action"

I have the below script (written by an engineer that left 3 months ago), that was used to strip data from a pdf file, for the purposes of verifying that the contents are as expected.  It always worke...
  • JoseVazquez-1's avatar
    JoseVazquez-1
    8 years ago

    The file "pdfbox-app-1.8.8.jar" was reloaded (in case it was corrupted), and this did not solve the issue.

     

     

    Issue was eventually solved.

     

    Step 1.

    Updated the JRE (Java Runtime Environment) to the latest version.

     

    Step 2.


    In the Menu Bar, select "Tools", then "Options". Go to "Engines", then "Java Bridge".
    Select the latest JVM (java Virtual Machine) path. See picture "TestComplete-JAVA-Bridge-B.JPG".

     

     

    Step 3.


    Under the Project "Properties", "java Bridge", both the "Java Classes" and the "Class Paths" were deleted, then reloaded.  See picture "TestComplete-JAVA-Bridge.JPG".

     

     

    These two steps fixed the issue.


    Test Complete does not automatically JVM path after a Java update.