Analyzing Test Results in QTP

When a run session ends, you can view the run session results in the Test Results window. By default, the Test Results window opens automatically at the end of a run. If you want to change this behavior, clear the View results when run session ends check box in the Run tab of the Options dialog box.

The Test Results window contains a description of the steps performed during the run session. It displays a single run iteration.

After you run a component, the Test Results window displays all aspects of the run session, including:

  • a high-level results overview report (pass/fail status)
  • the data used in all runs
  • an expandable tree of the steps, specifying exactly where application failures occurred
  • the exact locations in the component where failures occurred
  • detailed explanations of each step pass or failure, at each stage of the component

Note: The Test Results window can show results with up to 300 levels in the tree hierarchy. If you have results with more than 300 nested levels, you can view the entire report by manually opening the results.xml file.

No comments: