Running and Analyzing a Test with Checkpoints
In this section, you will review your test with checkpoints, run the test, and analyze the checkpoint results.1 Expand the test and review your test.
Choose View > Expand All or use the * shortcut key on your number keypad.
The Keyword View displayed is similar to the following:
2 Start running your test.
Click Run or choose Test > Run. The Run dialog box opens. Ensure that New run results folder is selected. Accept the default results folder name.
Click OK. When the test run is completed, the Test Results window opens.
3 View the test results.
When QuickTest finishes running the test, the Test Results window opens.
The test result should be Passed, indicating that all checkpoints passed. If one or more checkpoints had failed, the test result would be Failed.
4 View the results of the page checkpoint.
In the results tree, expand (+) Checkpoint Iteration 1 (Row 1) > Action1 Summary > Welcome: Mercury Tours > Book a Flight: Mercury.
Highlight Checkpoint “Book a Flight: Mercury”.
In the Details pane, you can review the details of the page checkpoint, which lists the items checked.
Tip: You can drag the bottom of the Details pane to enlarge it and/or scroll within the pane to view all of the checkpoint details.
The checkpoint passed because the actual values of the checked properties match the expected values.
5 View the results of the table checkpoint.
In the results tree, Book a Flight: page, expand (+) New York to San Francisco.
Highlight Checkpoint "New York to San Francisco".
In the Details pane, you can review the details of the table checkpoint. You can also review the values of the table cells (cell values that were checked are
displayed in black; cell values that were not checked are displayed in gray).
The checkpoint passed because the actual value of the checked cell matches the expected value.
6. View the results of the standard checkpoint.
In the results tree, Book a Flight: Mercury page, expand (+) passFirst0.
Highlight Checkpoint "passFirst0".
In the Details pane, you can review the details of the standard checkpoint, which lists the properties that were checked and their values. The
checkpoint passed because the actual values of the checked properties match the expected values.
7 View the results of the text checkpoint.
In the results tree, expand (+) Checkpoint Iteration 1 (Row 1) > Action1 Summary > Welcome: Mercury Tours>
Flight Confirmation: Mercury.
Highlight Checkpoint "New York".
In the Details pane, you can review the details of the text checkpoint. The checkpoint passed because the actual text matches the expected text.
8 Close the Test Results window.
Choose File > Exit.




No comments:
Post a Comment