Generating compound test result reports

When a compound test run is completed, a Test Log is shown in the Test Execution perspective. You can work with the information in the test log and also generate test result reports.

Exporting the Test Log

When a compound test run is completed, a Test Log is displayed in the Test Execution perspective.

About this task

The Test Log displays the following details:
  • The General Information tab displays the name of the compound test and its description. The location of the test log file is also shown.
  • The Common Properties tab shows the verdict of the test results.
  • The Verdict Summary and Verdict List tabs provide a pie chart of verdicts for different components of the test, and a list of the first 20 verdicts. You can view details about the verdicts by clicking the links in the Verdict List tab.
You can export the contents of the test log to a full-text file.

Procedure

  1. To export the contents of the test log to a full-text file, right-click the test run result under the Results folder of the compound test, and click Export Test Log.
  2. In the Export Test Log dialog box, specify where the test log should be exported to, in the Location field.
  3. Select the format in which the log must be exported, from the list in the Export Format field. You can select either Flat Text - Default Encoding or Flat Text - Unicode Encoding.
  4. Click Finish. The test log is exported as a full-text file, with the test results run name, to the location you specified.

Generating a functional test report

You can generate a functional test report from the test run results as a HTML file.

About this task

When you generate a functional test report as a HTML file, the following details are displayed in the report:
  • A global summary, which lists the number of tests run, verification points, defects
  • A test summary which displays the name of each test, the start and end times and the verdicts.

Procedure

  1. In the Test Workbench perspective, test run results are displayed under the Results folder of a project. Right-click the test run result you want to view and click Generate Functional Test Report. The Generate Functional Test Report dialog box is opened.
  2. Select the parent folder in which the report must be stored.
  3. By default, the name of the compound test and the date and time stamp is displayed as the name of the report in the Name field. You can change the name.
  4. Click Next.
  5. Select the report template to be used. If you select the Common Functional Test Report (XSL) format, the report is generated as a HTML file. If you select the Common Test Functional Report format, you can select either the HTML or PDF output format.
  6. Click Finish. The report is generated and displayed. The report is listed under the Functional Reports folder under the compound test in the Test Navigator.

Creating an executive summary

You can create an executive summary or test statistics report from the test run results. Executive summaries are generated according to the type of test.

About this task

An executive summary displays the tests and methods that were run, and their success or failure information. This information is shown in summary charts as well as in bar graphs.

Procedure

  1. Under the Results folder of the project, right-click the test run result you want to view and click Create Executive Summary. The Generate Functional Test Report dialog box is opened.
  2. Select the type of test report you want to generate.
  3. Click Finish. The report is generated and displayed. The report is listed under the Functional Reports folder under the compound test in the Test Navigator.

Feedback