Share this page

# Receive automated test run results

Incorporate automated test results even if you do not use a CI server. When test results are received, an automated test and test run entities are created from the results. For details, see Create automated tests.

Tip: To push test results from OpenText Application Quality Management, use the OpenText Application Quality Management test run injection mechanism and not the method described below. For details, see Inject test runs from OpenText Application Quality Management.

In this topic:

## Set up API access

For the OpenText Application Quality Management Test Results collection tool to send results to OpenText Software Delivery Management, or for you to send results using the OpenText Software Delivery Management UI, you must have permissions to access the server. This permission is granted with an API access key.

For details on setting up API access, see API access.

## Prepare your test results

Store your automated test results in a valid XML file. Use one of the following formats.

Type | Details
--- | ---
A JUnit test results XML file | Use the XML schema used by JUnit tests. To relate the test results to entities, add additional information about the tests (such as test type, environment details, release) in a separate configuration file or by using the command line options of the test result collection tools. For details, see the tool's readme.
An XML file using API requirements | If you have more complex cases, prepare the XML file according to the test result API. For details, see Add automated test results. For an example, see Test results XML sample.

## Decide how to retrieve test results

Use one of the following methods.

Method | Details
--- | ---
OpenText Lifecycle Management Test Result Collection Tool | A command line tool for pushing test result XML files to the test result API. The test results can be stored anywhere.
OpenText Application Quality Management Test Result Collection Tool | Retrieves the test results directly from OpenText Application Quality Management. Define filters that specify the test runs whose results you want to retrieve. The tool requires connection information for an OpenText Application Quality Management domain and project, as well as a user name and password and OpenText Software Delivery Management API access. Supports 12.* versions of OpenText Application Quality Management. Send test results from OpenText Application Quality Management test types including MANUAL, OpenText Functional Testing, OpenText Functional Testing for Developers, and BPT tests.
OpenText Software Delivery Management API | Use REST API calls to send test results without the test results collection tools. For details, see Add automated test results.

## Download a Test Result Collection tool

A Test Result Collection tool retrieves the test results and sends them to OpenText Software Delivery Management.

To download a test result collection tool:

1. Open the global menu and select Administration > General Settings.
2. Select a workspace.

3. Select the DevOps > CI Server tab.

4. In the side pane, click the link to access the Test Result Collection tool or OpenText Application Quality Management Test Result Collection tool in GitHub.

   Download the tool to a directory of your choice.

5. Unzip the downloaded file and move it to the necessary directory.

## Push test results stored externally

To push test results stored outside or on an OpenText Application Quality Management server, use the command line to run the test result collection tool.

The command line options for this tool enable you to provide the necessary results, metadata, and configuration options as part of the command line or in a separate configuration file.

For details, see the readme files:

- Test Results Collection tool: https://github.com/MicroFocus/octane-collection-tool
- OpenText Application Quality Management Test Results Collection tool: https://github.com/MicroFocus/alm-test-result-collection-tool

## Track your test results

There are a number of fields available to find your test results. Add these fields in the module grids or Dashboard graphs:

To track test results:

1. In the Backlog or Quality modules, add the Testing tool type column. By default, this column reports tests from the Manual Runner, Selenium, OpenText Functional Testing, OpenText Functional Testing for Developers, OpenText Core Performance Engineering, SoapUI, Protractor, and OpenText Enterprise Performance Engineering.

   Filter or sort the grid accordingly to see results from these testing tools.

2. In Dashboard grids, filter by the Testing tool type attribute. The graph is sorted to display tests with each testing tool type.

3. For tests pushed from OpenText Application Quality Management, use the Component, Package, and Class Name columns in the Backlog and Quality modules. These columns are marked accordingly to identify the test results origin from OpenText Application Quality Management.

   In addition, an identifier is added to the test name to show it originated in OpenText Application Quality Management.

4. After the test results have been retrieved, set up test assignment rules to assign the results to the relevant application modules and users. For details, see Test assignment rules.

## See also

- Add automated tests
- Test results XML sample
- Run automated tests
- 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: