Skip to content

Automation with UFT

This feature is available only in the Premium version of Squash AUTOM.

Warning

Squash AUTOM/Squash DEVOPS current version does not support UFT Service Tests.

Configuration of the test environment

For result publication to Squash TM functionnality, UFT must be configured to generate RRV reports:

uft-report-format

Test reference in Squash TM

In order to bind a Squash TM test case to a UFT automated test, the content of the Automated test reference field of the Automation block of a test case must have the following format:

[1]

With:

  • [1]: The path to the test folder to execute.

Nature of the exploitable Squash TM parameters

Here is a table showing the exploitable parameters:

Nature Key
Name of the dataset DSNAME
Dataset parameter DS_[name]
Test case reference TC_REFERENCE
Test case custom field TC_CUF_[code]
Iteration custom field IT_CUF_[code]
Campaign custom field CPG_CUF_[code]
Test suite custom field TS_CUF_[code]

Legend:

  • [code]: Value of the "Code" of a custom field
  • [name]: Parameter name as filled in Squash TM

As indicated, Squash TM adds a prefix to the code of the transmitted custom field. Make sure to take it into account.

Refer to the Squash TM documentation for more information about custom fields.

Squash TM parameters usage

When executing a Squash TM automated test case with UFT, it is possible to exploit the Squash TM parameters inside the test.

In order to achieve this, yo will have to follow these steps:

  • Create custom fields in Squash TM and bind them to the project bearing the test plan to execute.

  • Make sure that the code fields of the parameters correspond to the names of the existing parameters present in the UFT solution.

Example

Below is an example of a UFT solution and the corresponding Squash TM test case automation:

uft-params-1

uft-params-2

uft-params-1

uft-params-2

Supported versions

Squash AUTOM and Squash DEVOPS have been validated with UFT 15.0.2. Any recent version should work properly.

Back to top