Monday, January 12, 2015

Understanding the QTP Result Pane


When Quick Test finishes running the test, the Test Results window opens.

Initially, the Test Results window contains two panes for displaying the key elements of your test run.
  • The left pane displays the test results tree, an icon-based view of the steps that were performed while the test was running. Similar to the test tree in Quick Test main screen, it is organized according to the Web pages visited during the test run and can be expanded (+) to view each step. The steps performed during the test run are represented by icons in the tree. You can instruct Quick Test to run a test or action more than once using different sets of data in each run. Each test run is called iteration and each iteration is numbered. (The test you ran had only one iteration.)
  • The right pane displays the test results details. The iteration summary table indicates which iterations passed and which failed. The status summary table indicates the number of checkpoints or reports that passed, failed, and raised warnings during the test.
Your test run succeeded because Quick Test was able to navigate the Mercury Tours site just as the test was originally recorded. In this section, you will inspect the steps Quick Test performed when running your test, and how the application window appeared when a step was performed.




  1. View the test results for a specific step.

In the test results tree, expand (+) Test Recording Summary >
Recording Iteration 1 (Row 1) > Action1 Summary > Welcome Mercury > Find a Flight
.
Highlight "fromPort":Select "New York" in the test results tree.



The Test Results window now contains three panes, displaying:
·         the test results tree, with one step highlighted
·         the test results details of the highlighted step
·         The Active Screen, showing a screen capture of the Web page on which the step was performed.
When you click a page in the test results tree, Quick Test displays the corresponding page in the application view. When you click a step (an operation performed on an object) in the test results tree, the corresponding object is highlighted in the application view. In this case, the Departing From text box is highlighted.

       2.  Close the Test Results window.
Choose File > Exit.

Test Results Tree Symbols


Indicates a step that succeeded or passed.


Indicates a step that failed.


Indicates a warning, meaning that the step did not succeed, but it did not cause the action or test to fail.


indicates a step that failed unexpectedly, such as when an object is not found for a checkpoint.


Indicates an optional step that failed and therefore was ignored. Note that this does not cause the test to fail.

Indicates that the Smart Identification mechanism successfully found the object.


Indicates that a recovery scenario was activated.


Indicates that the test run was stopped before it ended.


No comments: