Run automated tests

This topic describes how to set up automated tests.

Overview

There are several ways of discovering and running automated tests.

Method Details

Pipelines

Run automated tests as part of a pipeline if you run a regular set of tests and do not need to select specific tests.

UFT One integration

Include UFT One tests in a test suite.

On-demand

Use the on-demand testing framework if you want to choose specific tests to run, and you are planning your tests in advance.

The tests are run by automation tools, and the results are sent to OpenText Core Software Delivery Platform.

When integrating with your testing framework, you can select automated tests from your testing framework, and run them in the context of a test suite.

Back to top

Run automated tests as part of a pipeline

If you set up a CI server integration, OpenText Core Software Delivery Platform receives the results of automated tests that run in a pipeline on your CI server. OpenText Core Software Delivery Platform then creates or updates the relevant automated tests and test runs based on those results. For details, see Set up CI/CD integration and Create automated tests.

You can trigger pipeline runs from OpenText Core Software Delivery Platform, but not individual test runs.

Note: If you do not run your automated tests on a supported CI server, you can still send automated test run results to OpenText Core Software Delivery Platform. For details, see Receive automated test run results.

To run automated tests as part of a pipeline:

  1. Prerequisite: Set up a pipeline and run it, so OpenText Core Software Delivery Platform discovers your automated tests.

    This includes setting up integration with your CI server, creating a pipeline in OpenText Core Software Delivery Platform, and running it. For details, see Add automated tests from runs in a pipeline .

  2. Running automated tests again: To run your automated tests again, and have the updated results sent to OpenText Core Software Delivery Platform, you must run the whole pipeline. For details, see Run pipelines.

    This runs all automated tests included in steps of the pipeline.

  3. View run results. Open individual automated tests in the Backlog or Quality module to view their results, or open the Pipelines module to view details about all the tests in the pipeline.

Back to top

Run UFT One tests as part of a test suite

If you set up an integration with UFT One, OpenText Core Software Delivery Platform 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 OpenText Core Software Delivery Platform by including the tests in test suites.

For details, see Set up UFT One integration and Run UFT One tests in a test suite.

Back to top

Run automated tests on demand

You can integrate OpenText Core Software Delivery Platform with your testing framework and enable it to run tests on demand, using your CI server. After setting up the integration, you can select automated tests from your testing framework, and run them in the context of a test suite.

This is useful in a number of scenarios. For example, suppose your CI server ran automated nightly tests and the OpenText Core Software Delivery Platform pipeline shows that a specific test failed. After pushing a fix you can run the specific test directly from OpenText Core Software Delivery Platform, rather than running the full pipeline which can be time consuming.

For details, see Trigger on-demand automated test runs.

Note: To run automated tests on-demand, you have to create a pipeline and run it once for the tests to be discovered.

Back to top

See also: