LaunchAut Method (IDesktopEnvironment)

Launches an AUT using the file name. To use this method, you must create an application allowlist file. For details, see Add SDK code to your tests in the UFT Developer Help Center.

LaunchAut Method (String)

Launches an AUT using the file name. To use this method, you must create an application allowlist file. For details, see Add SDK code to your tests in the UFT Developer Help Center.

C# Syntax

                    
 public IAut LaunchAut( 
   string fileName
)

Parameters

fileName
The name of the AUT file to launch. Specify only the name, or the full or relative path to the file.

Return Value

Launched AUT

LaunchAut Method (String,String[])

Launches an AUT using the file name and a list of arguments. To use this method, you must create an application allowlist file. For details, see Add SDK code to your tests in the UFT Developer Help Center.

C# Syntax

                    
   public IAut LaunchAut( 
   string fileName,
   params string[] args
)

Parameters

fileName
The name of the AUT file to launch. Specify only the name, or the full or relative path to the file.
args
A list of arguments.

Return Value

Launched AUT

LaunchAut Method (String,String[],String)

Launches an AUT using the file name, a list of arguments, and a working directory. To use this method, you must create an application allowlist file. For details, see Add SDK code to your tests in the UFT Developer Help Center.

C# Syntax

Parameters

fileName
The name of the AUT file to launch. Specify only the name, or the full or relative path to the file.
args
A list of arguments.
workingDirectory
A working directory.

Return Value

Launched AUT