Viewing and Analyzing Test Results

ALM provides a number of features that enable you to view and analyze the results of your tests.

You can also use ALM reports and graphs to further analyze your test results. For details, see Analyzing ALM Data.

Viewing Test Results in the Test Runs Module

You can view results for a test in the Test Runs module. You can use the grid to compare the results of recent test runs with previous test runs.

In the below exercise, you will learn how to view test run information in the Test Runs module.

Back to top

Viewing Functional Test Set Results in the Test Set Runs Tab

If you are using ALM Edition with Lab Management enabled, you can view the results of your Functional test set runs in the Test Set Runs tab.

To view test set results in the Test Set Runs tab:

  1. Make sure the Test Runs module is displayed.

    On the ALM sidebar, under Testing, select Test Runs.

  2. View detailed test results from the Test Set Run Details dialog box.

    Click the Test Set Runs tab. Select the Mercury Tours Site test set run in the grid and click the Test Set Run Details button. The Test Set Run Details dialog box opens, containing details about the test set run.

  3. Close the Test Set Run Details dialog box.

    Click the Close button.

  4. View test run information in the Execution Report page.

    Select the Mercury Tours Site test run and click the Show Report button. The Execution Report page opens. The Execution Report page displays information about the overall test set run and detailed information about each test instance run.

Back to top

Viewing Test Results in the Test Runs Tab

In this exercise, you view the results of individual test instance runs.

To view test results in the Test Runs tab:

  1. Make sure the Test Runs module is displayed.

    On the ALM sidebar, under Testing, select Test Runs.

  2. View detailed test results from the Test Run Details dialog box.

    Make sure the Test Runs tab is displayed. Select the American Express test run and click the Test Run Details button. The Test Run Details dialog box opens.

  3. View other test run information in the Test Run Details dialog box.

    1. Click Report to display results and test step details of the run.
    2. Click Linked Defects to list the defects linked to the run.
    3. Click History to list the changes made to the run.
  4. Close the Test Set Run Details dialog box.

    Click the Close button.

Back to top

Viewing Test Results in the Test Instance Properties Dialog Box

You can view results for a test in the Test Instance Properties dialog box. This includes details of a test’s runs, attachments, linked defects, and history.

To view test results in the Test Instance Properties dialog box:

  1. Make sure the Test Lab module is displayed.

    On the ALM sidebar, under Testing, select Test Lab.

  2. Make sure the Cycle 1 - New Features test set folder is displayed.

    1. In the test set tree, expand the Cycle 1 - New Features test set folder under Service Pack 1. Select the Mercury Tours Site test set.

    2. Click the Execution Grid tab.

  3. Select American Express in the Execution Grid.

    In the Execution Grid tab, select American Express.

  4. View detailed test results from the Test Instance Details dialog box.

    Click the Test Instance Details button. The Test Instance Details dialog box opens.

  5. View test run information.

    Click Runs. The run details are displayed.

  6. View other test run information in the Test Instance Details dialog box.

    1. Click Execution Settings to view parameters used to run the instance. Note that any changes that you make are implemented in the next test run.

    2. Click Linked Defects. This view lists the defects linked to the currently selected test instance. You can view, add, and remove defect links.

    3. Click History to view a list of changes made to the test run fields.

  7. Close the Test Instance Details dialog box.

    Click the Close button.

Back to top

Viewing Test Coverage

You previously saw how you can use the Coverage Analysis view to analyze the breakdown of child requirements according to their tests coverage (see Analyzing Coverage).

In this exercise, you will learn how to filter the tests included in the coverage analysis by cycle.

To view test coverage:

  1. Display the Coverage Analysis view in the Requirements module.

    1. On the ALM sidebar, under Requirements, select Requirements.

    2. Choose View > Coverage Analysis. The Coverage Analysis view is displayed.
  2. Filter the coverage analysis by cycle.

    1. On the upper-right side of the window, click the Settings button. The Analysis Settings dialog box opens.

    2. Select Execution Analysis. Click the arrow. In the releases tree, expand the release folder Service Packs and the release Service Pack 1. Select the Cycle 1 - New Features check box and click OK.

    3. Click OK to close the Analysis Settings dialog box.

    4. Expand the Payments requirement. In the Coverage Analysis column, you can see that the requirement has failed. This is because the Credit Cards test that covers the requirement failed.

  3. Display test coverage details for the Credit Cards requirement.

    1. Right-click the Credit Cards requirement, and choose Coverage Analysis. The Coverage Analysis dialog box opens.

    2. Click the Show Test Coverage link to extend the Coverage Analysis dialog box and display the Test Coverage Chart.

    3. This pie chart graphically displays the full test coverage for the requirement, grouped according to test status.

    4. Click the pie chart to open the Test Coverage dialog box.

      The dialog box shows the failed test together with the test run status of each test configuration.

    5. Close the Test Coverage dialog box.
  4. Close the Coverage Analysis dialog box.

    Click the Close button.

Back to top

Viewing Coverage Progress

You were previously introduced to the Progress tab in the Releases module (see Viewing Releases and Cycles).

In this exercise, you will view the graphs and statistics that now reflect the results of tests you ran in previous exercises.

To view coverage progress:

  1. Display the Releases module.

    On the ALM sidebar, under Management, select Releases.

  2. View the effect of your test runs on the Progress tab.

    In the releases tree, expand the release folder Service Packs and the release Service Pack 1. Select Cycle 1 - New Features and click the Progress tab.

    The top pane shows information such as the total and remaining days in the cycle, total test instances for the cycle, and actual and remaining test instances to run.

    The bottom pane displays the Coverage Progress graph. Planned coverage indicates the percentage of tests planned to be run each day within a cycle. Executed coverage indicates the percentage of tests that ran each day within a cycle. Passed coverage indicates the percentage of tests that ran successfully each day within a cycle.

  3. Back to top