Default Project Properties - Java Bridge Options

Applies to TestComplete 15.68, last modified on October 16, 2024

The Java Bridge Options group of the default project properties includes options that let you specify default values of the Java Bridge settings for new TestComplete projects. To view or change the default options, select Tools | Default Project Properties from the main menu of TestComplete and then choose Project | Java Bridge from the tree displayed on the left side of the ensuing Default Project Properties dialog.

You can change the following options:

  • Java Classes - Specifies the Java classes whose functions you will be able to call. The classes listed in this list become available to TestComplete and are displayed in the Code Completion window as child objects of the JavaClasses object. See Calling Functions From Java Classes.

    To add a new class name to the list, click the Add button to the right of the list and then specify the desired class name.

    To delete a class name from the list, select it and press Remove.

  • Class Paths - Specifies the path to Java classes.

    To add the folder where Java classes are stored to the list, click the Add Directory button, select the desired directory from the resulting Browse for Folder dialog and click OK. To add .jar files in which Java classes are stored to the list, click Add JAR Files and then select the desired files from the subsequent Select JAR Files dialog.

    TestComplete cannot load Java classes from the signed jar libraries (that contain *.DSA, *.RSA and *.SF files in their META-INF directory).

    To remove the selected class path from the list, press Remove.

To save the changes you have made and to close the dialog, press OK. Cancel will close the dialog discarding any changes.

See Also

Project Properties - Java Bridge Options
Default Project Properties - Project Options
Calling Functions From Java Classes
Project Properties

Highlight search results