RunAsJar Property

Applies to TestComplete 15.63, last modified on April 23, 2024

Description

Specifies whether the Java application should be launched using the -jar command-line argument and the JarFileName path to the application’s .jar file.

Declaration

TestedAppJavaParamsObj.RunAsJar

Read-Write Property Boolean
TestedAppJavaParamsObj An expression, variable or parameter that specifies a reference to a TestedAppJavaParams object

Applies To

The property is applied to the following object:

Property Value

True if the application should be run from the .jar file and False otherwise.

Remarks

If the property is set to False, you should specify the application’s entry point and the path to the file holding the application’s main class (to do that, use the EntryPoint and ClassPaths properties).

If you assign a value to this property, TestComplete will treat your project as modified. So, you will need to save or cancel changes when closing the project. The specified value will be displayed in the TestedApps editor.

See Also

Run Modes and Parameters
Editing Desktop Application Parameters
About Tested Applications

Highlight search results