Troubleshooting a Test Run

Normally, the goal of a test run is for all tests in the test suite that are not filtered out to have passing results. If the root test suite folder contains tests with errors or failing results, you must troubleshoot and correct the cause to satisfactorily complete the test run.

Tests with errors Tests with errors icon are tests that could not be executed by JavaTest. These errors usually occur because the test environment is not properly configured or the software under test is defective.

Tests that failed Tests that failed are tests that were executed but had failing results.

The Test Manager window provides you with the following facilities for effectively troubleshooting a test run:

Test Tree

Use the test tree and view filters to identify specific folders and tests that had errors or failing results. Open the red Failed folder and blue Error folderfolders until the specific tests that failed Tests that failed or had errors Tests with errors icon are displayed.

Folder View

When you click a folder icon in the test tree pane, the JavaTest harness displays the contents of the folder in the Test Manager information area.

Click the Error and the Failed tabs to display the lists of all tests in and under a folder that were not successfully run. You can double-click a test in the lists to view its detailed test information. Refer to Test View below for a description of the test information that the JavaTest harness displays.

Test View

When you click a test icon in the test tree or double-click its name in the folder view, the JavaTest harness displays detailed information about the test in the information area.

The test view contains detailed test information and a brief status message at the bottom of the pane that identifies the type of result. This message may be sufficient for you to identify the cause of the error or failure.

If you need more information to identify the cause of the error or failure, use the following panes listed in order of their importance:

Related topicsRelated topics:

The next possible topic in the run sequence Stopping a Test Run

The next possible topic in the run sequence Starting a Test Run

The next possible topic in the run sequence Monitoring a Test Run