Environment variables for Windows-based applications

You can use environment variables to define the details for the Windows-based applications on which you want to record and run tests. If you do this, use the appropriate variable names as specified below.

Option

Variable Names

Description

Application

EXE_ENV_1
EXE_ENV_10

The executable files on which UFT records operations when record and run sessions begin. You can specify up to ten executable files.

Working folder DIR_ENV_1
DIR_ENV_10

The folder to which the corresponding executable file refers (for each corresponding application).

Program arguments

ARGS_ENV_1
ARGS_ENV_10

The command line arguments to be used for the specified application (for each corresponding application).

Launch application

LNCH_ENV_1
LNCH_ENV_10

Whether to open the application when starting the record and run session (for each corresponding application).

Possible values:

  • 0 (do not launch the application)

  • 1 (launch the application)

Include descendant processes

CHLD_ENV_1
CHLD_ENV_10

Whether to record and run on processes created by the application during the record and run session (for each corresponding application).

Possible values:

  • 0 (do not record on descendant processes)

  • 1 (record descendant processes)