Chapter 4. TestCenter Reports

Table of Contents

4.1. Static HTML Pages

The following chapter describes the basic features of the reports created by TestCenter results.

4.1. Static HTML Pages

The static HTML pages are created for local testing. They are written to the folder specified for Report Directory in TestCaseManager → Configuration . The pages are self-contained so that the complete folder can be moved without invalidating the pages. Even the XML result file created during testing is included, so reports can be recreated later.

[Tip] Tip

It is possible to write new scripts for further automatic processing of the XML result files, for example, for merging or removing specific results from the reports.

In the case of more than one test case, an index page with a list of all available test cases is created. Each test case has its own page that shows the results of all its test functions.

Figure 4.1. Example Report: Index Page

Example Report: Index Page


Figure 4.2. Example Report: LocalImageTest

Example Report: LocalImageTest


At the top of each test page, there is a section with information on the test case and the general outcome. There is also a configuration section that allows configuring what is displayed in the report.

Figure 4.3. Example Report: LocalFileNameTest — All Tests

Example Report: LocalFileNameTest — All Tests


It is possible to show only the failed tests. Details on the error are provided in the report.

Figure 4.4. Example Report: LocalFileNameTest — Failed Tests Only

Example Report: LocalFileNameTest — Failed Tests Only


When clicking Collapse all, the entire output of all test functions is collapsed. The button then changes to Expand all, which expands the entire output of all test functions.

Additionally, there are checkboxes to hide info and system messages, if available.

Below the header section, there is a block for each test function with a colored box that indicates the status. Clicking on the minus/plus symbol before the test function name collapses or expands the test function. To the left of the name of the test function, the duration of execution for this function is displayed, followed by elements to navigate to the next or previous test function.

The body of the test function block contains a list of all available messages generated by the function. For reports displayed with the TestCaseManager result viewer, the line numbers are clickable and open the corresponding file at the correct location. The message line shows a tooltip with information about the time when the message was generated.

[Tip] Tip

For HTML output for external browsers, see Section 3.1.1, “TestCaseManager”.