Tuesday, 18 December 2012

Running and Analyzing a Test with Output Values | QTP Tutorial PDF

Running and Analyzing a Test with Output Values

You will now run the test and examine the results.
1 Run the Output test.
Click the Run button or choose Test > Run. The Run dialog box opens.
Select New run results folder and accept the default results folder name.
Click OK. When the test run is completed, the Test Results window opens.
2 Examine the run-time data results.
In the Test Results window, select Run-Time Data from the results tree. The output values used during the test run are displayed in a grid. Note that a different price is shown in the depart_flight_price column for each iteration.
3 Examine the checkpoint results.
Choose View > Expand All.
In Output Iteration 1 (Row 1), under the Book a Flight: Mercury page, click Checkpoint "New York to San Francisco".
Note that in the Details pane, the checkpoint is marked in green as passed because the price of the ticket for the first flight in the Summary table
matched the expected value obtained from the Select a Flight page.
Examine the checkpoints for Iterations 2 and 3 as well. In the Details pane, these checkpoints are also marked in green as “Passed,” for the same reason.
4 Close the Test Results window.
Choose File > Exit to close the Test Results window.

No comments: