How to Integrate Tests from an External Tool

This task describes how to integrate test results from an external tool to ALM.

Note: If you are working with Jenkins, see How to Integrate Tests from Jenkins.

To learn more about integrating external test results with ALM, see Integrating External Tests Overview.

  1. Import result file from your external tool to the Test Plan module.

    1. On the ALM sidebar, under Testing, select Test Plan.
    2. Right-click a folder in the Test Plan Tree and select Generate Tests from External Test Results. For user interface details, see Generate Tests from External Test Results Dialog Box.

      Note: ALM supports the following XML formats: JUnit/XUnit, Nunit, and TestNG.

    1. ALM adds the tests (EXTERNAL-TEST test type ) to your Test Plan Tree.

  2. Create coverage between your imported tests and the requirements in your project.

    You can create coverage from the Test Plan module or from the Requirements module. For task details, see How to Create Coverage.

  3. Run tests using your external tool.

  4. Synchronize external results with ALM.

    When the test run completes, perform the following steps:

    1. On the ALM sidebar, under Testing, select Test Lab.
    2. Under the Root folder, select or create a folder.
    3. Right-click the folder and select Import External Test Results. For user interface details, see Import External Test Results Dialog Box.

    Tip: Instead of synchronizing your results manually, you can use ALM REST API to automate this process. For information on how to configure Jenkins to synch results with ALM, see this KB article.

  5. View external test results in ALM.

    For task details, see How to View External Results in ALM.