Forum Discussion

Re: Hiow to execute JAR files in test complete

You need to add the JAR files AND the class names you want to use to Tools > Current Project Properties > Java Bridge. Then you can access the specified classes and their methods like this:

 

JavaClasses.package_name.class_name.method();

Check out the docs for details:
Calling Functions From Java Classes

 

2 Replies

  • suvidhshetty's avatar
    suvidhshetty
    Contributor

    We have only mobile module in TestComplete we are doing mobile test for Android application. We did not get the location "Tools > Current Project Properties > Java Bridge" in TC 10 Mobile module. let me know how do we work with external jars.

    • HKosova's avatar
      HKosova
      Icon for Alumni rankAlumni

      You need the Desktop module to call external JARs. Other modules don't include this feature.