Analyzing the Log

Use

The log documents a test. Errors are highlighted in color.

Procedure

The log appears automatically after a test. To display logs of previous tests, proceed as follows:

  1. Go to the test case editor.

  2. Choose Utilities Display log(s).

  3. Complete the following selection screen and choose . A list of all test logs that satisfy the selection criteria is displayed. If there is only one log, the list is skipped. Continue at 5.

  4. Select a log by double-clicking it. The log is displayed.

  5. Analyze the log.

  6. To exit the log, choose .

Result

Tests are logged. The log is hierarchically structured according to the test case used, and displayed as a structure with nodes.

The test case is displayed on the first level of the log. Below this, the transactions called, the screens used, and the entries, outputs, and checks on these screens are listed. Errors are displayed with their messages.

Logs with No Errors

Logs with Transaction Errors

Errors are marked red. If the test case contains several transactions, only those with errors are marked red.

Log with Positive Field Checks

A successful check is indicated in the log by the color green and the icon. The field value is displayed in the log.

Logs with Target/Actual Comparison Errors

The error is indicated by the color yellow and the icon. The target and actual values are logged in that order.

Logs with Actual Value Read Errors

The error is indicated by the color red and the icon. Only the target value is logged.

Marking Processed Screens

The screens that were processed during a test are shown in the CATT test plan log in black; screens that were not processed are displayed in blue. If errors occurred during a test, you can see which screen the test got to. In rare cases screens are missed during a test; you can now see from the log if there are any gaps in the sequence of processed screens.

You see the following image:

Blue-gray screens were not processed in the test.

This new function is particularly useful for error messages such as 'Data for screen XX not found'.