Run UFT One tests in a test suite

After you set up a UFT One integration, any UFT One tests and data tables that are discovered are continuously reflected in your repository. This lets you plan and trigger UFT One test runs from OpenText Core Software Delivery Platform by including the tests in test suites.

Run automated UFT One tests

You can run automated UFT One tests as part of a test suite.

Prerequisites

Set up UFT One integration to continuously discover your UFT One tests and data tables.

Executable automated tests are created to represent the GUI and API UFT One tests. You can run these tests by including them in a test suite. Only UFT One tests discovered this way are executable. For details, see Add tests from an SCM repository.

To run automated UFT One tests:

  1. Add executable UFT One tests to a test suite.

    Open the Quality module or the Backlog module. In the Tests tab, add one or more executable automated tests to a test suite.

    For each test, you can specify a data table to use for parameterizing the test run. For details, see Create test suites.

    You can also create a mixed suite that contains manual and automated tests.

  2. Plan and run the test suite.

    For details, see Plan and run test suites.

  3. View run results.

    The run results are explained in detail in the report provided by UFT One. For example, you can find the name of the test, the UFT One machine that ran it, the run duration, the data table and parameters that it used, and details about the success or failure of each step.

    To view the run status and run results report:

    1. In ALM, in a test suite, open the Suite runs tab.

    2. Click the ID of a suite run to open it.

    3. In the suite run, open the Runs tab to view all of the test runs.

      While the test is running, the run status is In progress. After the run finishes, the results are available in the UFT One report and the status shows Passed or Failed.

      If the test runs finish and the status still shows In progress, click the Refresh button to refresh the list of runs.

    4. Click the ID of a test run to open it for more detailed results.

    5. Click the Testing tool report button to open the UFT One report.

Back to top

Troubleshoot a UFT One test run

If OpenText Core SDP failed to run an executable automated test that is included in a suite run, do the following:

  1. Check the UFT One report for details about why the test failed.

  2. Make sure that you set up UFT One integration correctly. For details, see Set up UFT One integration.

  3. Make sure that the UFT One machine is not logged off or locked.

    Shut down options for a UFT One machine include Lock and Log off.

    Tip: With UFT One version 14.01 or later, you can run UFT One tests when the computer is locked, provided that you configured the disconnected remote connection option.

For more details on automated test run failures, see Examine failures on specific test runs.

Back to top

See also: