Share this page

# Run automated tests

This topic describes how to set up automated tests.

In this topic:

## Overview

There are several ways to discover and run 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.
OpenText Functional Testing integration | Include OpenText Functional Testing 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 Software Delivery Management.

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.

## Run automated tests in a pipeline

If you set up a CI server integration, OpenText Software Delivery Management does the following:

- Receives the results of automated tests that run in a pipeline on your CI server.

- 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 Software Delivery Management, 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. 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, to enable discovery of your automated tests. This includes setting up integration with your CI server, creating a pipeline, and running it. For details, see Add automated tests from runs in a pipeline.

2. Run automated tests again.

   To run your automated tests again, and send the updated results, you must run the whole pipeline. For details, see Run pipelines.

   This runs all automated tests included in the pipeline steps.

## View run results

You can view automated test run results in any of the following paths:

### View test runs associated with a pipeline run

1. Open the global menu and select the Quality Management > Pipelines > Management module.

2. Click a pipeline's ID.

3. In the pipeline details, select the Runs tab.

4. Click a pipeline run's ID or Build Number.

5. In the pipeline run details, select the Test Runs tab.

6. Click a test run's ID.

### View test runs associated with an application module

1. Open the global menu and select the Quality Management > Quality module.

2. Select an application module from the application module tree.

3. Do one of the following:

   - Drill down into a test entity:

     1. Select the Tests tab.

     2. Click an automated test's ID.

     3. In the test details, select the Runs tab.

     4. Click a test run's ID.

   - View a flat list of runs:

     1. Select the Runs tab.

     2. Click a test run's ID.

### View test runs associated with a backlog item or requirement

1. Open the global menu and select any of the Agile Delivery modules.

2. Select a backlog item or requirement from the tree.

3. Select the Tests tab.

4. Click an automated test's ID.

5. In the test details, select the Runs tab.

6. Click a test run's ID.

### Add attachments to automated test runs

Attachments can be added to automated test runs, both manually in the UI and via the REST API.

Attachments are supported for the Automated Run entity, meaning that attachments can be added to latest runs only, not to historic runs.

If an automated run is purged, its linked attachments are also deleted. For details, see Purge policy.

## Run OpenText Functional Testing tests in a test suite

You can set up an integration with OpenText Functional Testing. This enables OpenText Software Delivery Management to continuously reflect any Functional Testing tests and data tables that it discovers in your repository. It also lets you plan and trigger Functional Testing test runs by including the tests in test suites.

For details, see Set up OpenText Functional Testing integration and Run OpenText Functional Testing tests in a test suite.

## Run automated tests on demand

You can integrate with your testing framework and 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 pipeline shows that a specific test failed. After pushing a fix you can run the specific test directly from OpenText Software Delivery Management, 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.

## See also

- Run pipelines
- Assign items to application modules
- Analyze automated test run results

https://admhelp.microfocus.com Software Delivery Management 8942
Tips to improve your search results... OpenText™ Software Delivery Management Help Center OpenText™ Software Delivery Management Help 26.3 All View Local Help Center View Online Help Center Version: