executeUFTBatch

Executes an HP / Micro Focus UFT Batch test file. Only the path to the mtb file is needed to run the test.

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.

  • 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

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

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

HP UFT Test Batch File path. Relative paths will be assumed to be in the FD_ARTIFACTS_DIR. (e.g. c:\uft\project.mtb).

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.

 

The following macros are not currently supported in the footer:
  • style