Run automated tests from ALM Octane
This topic describes how to set up automated tests in ALM Octane.
Overview of automated testing
In ALM Octane, there are two ways to run automated tests: via pipelines, or via the testing framework integration. The tests are run by automation tools, and the results are sent to ALM Octane. When you integrate ALM Octane with your testing framework, you can select automated tests from your testing framework in ALM Octane, and run them in the context of a test suite.
If you want to choose specific tests to run, and you are planning your tests in advance, we recommend using the testing framework. If you run a regular set of tests and do not need to select specific tests, then running automated tests as part of a pipeline is more relevant.
If you set up a CI server integration, ALM Octane receives the results of automated tests that run in a pipeline on your CI server. ALM Octane then creates or updates the relevant automated tests and test runs based on those results. For details, see Set up CI servers and Creating automated test entities.
You can trigger pipeline runs from ALM Octane, 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 ALM Octane. For details, see Send automated test run results to ALM Octane.
To run automated tests as part of a pipeline:
Prerequisite: Set up a pipeline and run it, so ALM Octane discovers your automated tests.
This includes setting up integration with your CI server, creating a pipeline in ALM Octane, and running it. For details, see Add automated tests from runs in a pipeline .
Running automated tests again: To run your automated tests again, and have the updated results sent to ALM Octane, you must run the whole pipeline. For details, see Run pipelines.
This runs all automated tests included in steps of the pipeline.
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.
You can integrate ALM Octane with your testing framework, and enable ALM Octane to run tests in the testing framework via your CI server. After setting up the integration, you can select automated tests from your testing framework in ALM Octane, and run them in the context of a test suite.
Note: In order to run tests via the test framework, you have to create a pipeline and run it once for the tests to be discovered.
This is useful in a number of scenarios. For example, suppose your CI server ran automated nightly tests and the ALM Octane pipeline shows that a specific test failed. After pushing a fix you can run the specific test directly from ALM Octane, rather than running the full pipeline which can be time-consuming.
For details, see Trigger automated test runs in your testing framework.
Run UFT One tests as part of a test suite
If you set up an integration with UFT One, 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.