DescriptorFileName Property

Applies to TestComplete 15.44, last modified on November 10, 2022

Description

The DescriptorFileName property specifies the name and path of the AIR application's descriptor file (.xml). This property is used with unpackaged AIR applications launched by using the AIR Debug Launcher (adl.exe). Additionally, specify the path to the AIR Debug Launcher using the DebuggerExecutable property.

If you are testing an installed AIR application (.exe), use the Executable property instead of specifying the application's file name.

Declaration

TestedAppAIRParamsObj.DescriptorFileName

Read-Write Property String
TestedAppAIRParamsObj An expression, variable or parameter that specifies a reference to a TestedAppAIRParams object

Applies To

The property is applied to the following object:

Property Value

A string holding the name and path of the AIR application's descriptor file (.xml).

Remarks

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.

To specify the property value, you can use project and project suite variables as well as the operating system’s environment variables.

The project or project suite variables must be of the string type. To refer to them, use the following syntax --

$(var_name)

--for example, “$(MyVar1)”.

Note: When evaluating the value of the property, TestComplete first searches for the specified variable in the project variables, then in the project suite variables. Please keep this in mind if you have project and project suite variables with the same names.

To refer to environment variables, use the following syntax --

%var_name%

-- for example, %Path%.

Note that variables can refer to each other, for instance, a project variable may include a reference to an environment variable. TestComplete will recursively analyze the variables and form the resulting value that does not contain variable names.

See Also

Testing AIR Applications
About Tested Applications
AIR Application Parameters
DebuggerExecutable Property
Executable Property
Editing Desktop Application Parameters

Highlight search results