Checking Tables
In this section, you will add a table checkpoint to check the cost of the outbound flight, as displayed in the Book a Flight: Mercury page.1 Locate the page where you want to add a table checkpoint.
In the Keyword View, expand (+) Welcome: Mercury Tours > Book a Flight: Mercury.
Highlight the passFirst0 step in the Keyword View. The page is displayed in the Active Screen.
2 Create a table checkpoint.
In the Active Screen, right-click the price displayed for the first flight (New York to San Francisco)—270—and choose Insert Standard Checkpoint.
The Object Selection – Checkpoint Properties dialog box opens.
Select WebTable: New York to San Fransisco.
Note that the table you selected is highlighted in the Active Screen. Click OK.
The Table Checkpoint Properties dialog box opens, showing the rows and columns of the table.
Note that by default, check marks appear in all cells. You can double-click a cell to toggle the cell selection, or double-click a row or column header to
toggle the selection for all the cells in the selected row or column.
Double-click each column header to clear the check marks. Double-click column 3, row 3 to check the value of this cell. (QuickTest checks only cells
containing check marks.)
Tip: You can change the column widths and row heights by dragging the boundaries of the column and row headers.
Click OK to close the dialog box.
QuickTest adds the table checkpoint to your test. It is displayed in the Keyword View as a new step under the Book a Flight: Mercury page.
3 Save the test.
Choose File > Save or click the Save button.



No comments:
Post a Comment