Checking Text
In this section, you will add a text checkpoint to your test to check whether New York is displayed in the Flight Confirmation page.1 Locate the page where you want to add a text checkpoint.
In the Keyword View, expand (+) Action1 > Welcome: Mercury Tours.
Highlight the Flight Confirmation: Mercury page in the Keyword View. The page is displayed in the Active Screen.
2 Create a text checkpoint.
In the Active Screen, under “Departing,” highlight the text New York.
Right-click the highlighted text and choose Insert Text Checkpoint. The Text Checkpoint Properties dialog box opens.
When Checked Text appears in the list box, the Constant field displays the text string you highlighted. This is the text QuickTest looks for when
running the test.
Click OK to accept the default settings in this dialog box.
QuickTest adds the text checkpoint to your test. It is displayed in the Keyword View as a checkpoint operation on the
Flight Confirmation: Mercury page.
3 Save the test.
Choose File > Save or click the Save button.

No comments:
Post a Comment