Analyzing Test Results
When QuickTest 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 results tree, an icon-based view of the steps that were performed while the test was running. The results tree 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 QuickTest to
run a test or action more than once using different sets of data in each run. Each test run is called an 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 QuickTest was able to navigate the Mercury Tours site just as the test was originally recorded. In this section, you will inspect the steps QuickTest 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 results tree, expand (+) Test Recording Summary > Recording Iteration 1 (Row 1) > Action1 Summary > Welcome Mercury
Tours > Find a Flight.
Highlight "fromPort":Select "New York" in the results tree.
Tours > Find a Flight.
Highlight "fromPort":Select "New York" in the results tree.
The Test Results window now contains three panes, displaying:
=> the 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 results tree, QuickTest displays the corresponding page in the application view. When you click a step (an operation performed on an object) in the results tree, the corresponding object is highlighted in the application view. In this case, the Departing From text box is highlighted.
=> the 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 results tree, QuickTest displays the corresponding page in the application view. When you click a step (an operation performed on an object) in the 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.
You have now successfully created and run a test that reserves a flight from New York to San Francisco on the Mercury Tours Web site.
You have now successfully created and run a test that reserves a flight from New York to San Francisco on the Mercury Tours Web site.


No comments:
Post a Comment