Skip to main content
Executes an HP / Micro Focus UFT Batch test. Pass the path to an .mtb batch file or a UFT test directory (a directory containing one or more tests). HTML run results are copied into FlexDeploy reports.

Key Features

  • Test Batch Runner enables you to run tests in a collective, successive test run.
  • Tests are run individually but sequentially in a single session.
  • Use Test Batch Runner to create a list of tests that can be used to run the same batch of tests again another time. Save the list as a batch .mtb file.
  • Alternatively, pass a UFT test directory (or a parent directory of multiple tests) instead of an .mtb file. @Since 11.2.0.0
  • Test Batch Runner cannot include tests created in QuickTest or Service Test.
  • Integrate Test results into your FlexDeploy.
  • Saves the result files into the Report tab.
Open Text UFT versions 23.4 to 24.2 will override the prior execution results in batch executions. Therefore, this operation only saves the last testcase results from the batch file and parses the results.for more info https://admhelp.microfocus.com/uft/en/23.4-24.2/UFT_Help/Content/User_Guide/how2_run_batch.htm

Test Instance Properties

Property Name

Property Code 

Required

Description

Test Batch Runner Application Path

FDHPT_TEST_BATCH_RUNNER_PATH

 Yes

Absolute Path to the HP UFT Test Batch Runner CMD Application. (ex /UFT One installation folder/bin/UFTBatchRunnerCMD.exe.)

Inputs

Input Name

Input Code

Required

Description

Test Batch Runner Application Path

FDHPT_TEST_BATCH_RUNNER_PATH_INP

No

Absolute Path to the HP UFT Test Batch Runner CMD Application. (ex /UFT One installation folder/bin/UFTBatchRunnerCMD.exe.)

Note: if instance property provided(FDHPT_TEST_BATCH_RUNNER_PATH) then this property(FDHPT_TEST_BATCH_RUNNER_PATH_INP) not required

Test Batch Runner File

FDHPT_MTB_FILE_PATH

Yes

Path to an HP UFT Test Batch .mtb file, or a UFT test directory (single test or parent of multiple tests). Relative paths are assumed to be under FD_ARTIFACTS_DIR. (e.g. c:\uft\project.mtb or c:\uft\MyTest). When a directory is used, results are expected under <TEST>/Report/Report. @Since 11.2.0.0 for directory support.

Additional Arguments

FDHPT_MTB_ADDITIONAL_ARGUMENTS

No

Specify any additional arguments required(ex: -visible N ,-parameter “Parameter1=UFT;Parameter2=Test”)

Artifacts

This operation consumes artifacts.

Endpoint Selection

This operation delegates endpoint selection to the workflow developer. The workflow editor will default the selection to “All”, which selects all available endpoints associated with the target. Selecting a specific resource will result in the selection of endpoints associated with the target which have that resource defined.

Endpoint Execution

This operation delegates endpoint execution to the workflow developer. The workflow editor will default to “Any”, which will execute on any one of the selected endpoints, which will be randomly picked from selected endpoints or a specific endpoint where the previous step may have executed. Changing this value to “All” to will result in execution on all selected endpoints.