Share this page

# 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.

In this topic:

## 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

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

#### 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

Tips to improve your search results... UFT Developer .NET SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: