Desktop Windows-based application parameter values

Parameterize environment values for each test iteration to data drive your tests during runtime, testing how your application works in different environments.

The environment variables described in this section correspond with the settings you define in the Application Details Dialog Box.

Option

Variable Names

Description

Application

EXE_ENV_1
EXE_ENV_10

The executable files on which UFT One 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)