Run UFT One tests as part of a test suite

After you set up a UFT One integration, ALM Octane continuously reflects any UFT One tests and data tables that it discovers in your repository. This lets you plan and trigger UFT One test runs from ALM Octane by including the tests in test suites. For details, see Set up UFT One integration.

Run automated UFT One tests as part of a test suite

This procedure describes how to run automated UFT One tests as part of a test suite.

Prerequisites

Set up UFT One integration so ALM Octane continuously discovers your UFT One tests and data tables.

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

To run automated UFT One tests as part of a test suite:

  1. Add executable UFT One tests to a test suite. In ALM Octane, open the Quality module or a 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 duration of the run, the data table and parameters that it used, 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 finished and the status still shows In progress, try refreshing 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 in the upper right corner of the test run to open the UFT One report. The image below shows an example of a UFT One report:

Back to top

Troubleshooting a UFT One test run

If ALM Octane failed to run an executable automated test that is included in a suite run:

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

  2. Make sure 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.

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

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

Back to top

See also: