Sunday, July 6, 2008

What is page checkpoint in QTP?


You can check statistical information about your Web pages by adding page checkpoints to your test or component. These checkpoints check the links and the sources of the images on a Web page. You can also instruct page checkpoints to include a check for broken links.

To add a page checkpoint while recording:

Choose Insert > Checkpoint > Standard Checkpoint > Select the Page item and click OK




The Page Checkpoint Properties dialog box opens.



Modify the settings for the checkpoint in the Page Checkpoint Properties dialog box.

Click OK to close the dialog box. A checkpoint step is added in the Keyword View and expert view.

Note: You cannot select the HTML Verification options while creating a page checkpoint from the Keyword View or Active Screen. You can select these options only when creating a Page checkpoint while recording.

How do you modify table checkpoints in QTP?


To modify the table checkpoint:

In the Keyword View or Expert View, right-click the table checkpoint that you want to modify.

Select Checkpoint Properties. The Checkpoint Properties dialog box opens.

Modify the settings as per your requirement.

What is table checkpoint in QTP?


You can check that a specified value is displayed in a cell in a table by adding a table checkpoint to your test.

Table checkpoints are supported for Web and ActiveX applications, as well as for a variety of external add-in environments.

To add a table checkpoint while recording:

Choose Insert > Checkpoint > Standard Checkpoint > Click a table you want to check. The Object Selection - Checkpoint Properties dialog box opens. > Select a table item from the displayed object tree.




Click OK. The Table Checkpoint Properties dialog box opens. > Specify the settings for the checkpoint.

Click OK to close the dialog box. A checkpoint statement is added for the selected object in the Keyword View and Expert View.

What is Image checkpoint in QTP?

Image Checkpoint checks the value of an image in your application or Web page. For example, you can check that a selected image's source file is correct.

You create an image checkpoint by inserting a standard checkpoint on an image object.

Image checkpoints are supported for the Web environment

To create an Image checkpoint, follow below navigation:

Start recording > choose Insert > checkpoint > Standard checkpoint > click on an Image > checkpoint properties dialog box opens > select the image > click ok > Image checkpoint properties dialog box opens > select the properties that you want to check > click ok.

QTP creates a statement with check checkpoint(“Image”).







What is Standard check point? How can we create Standard checkpoint in QTP?


You can check the object property values in your Web site or application using standard checkpoints. You use standard checkpoints to perform checks on images, tables, Web page properties, and other objects within your application or Web site.

You can create standard checkpoints for all supported testing environments (as long as the appropriate add-ins are loaded).

To add a standard checkpoint while recording:

Choose Insert > Checkpoint > Standard Checkpoint > Click the object you want to check > Select the item you want to check from the displayed object tree > Click OK > Specify the settings for the checkpoint > Click OK - A checkpoint statement is added for the selected object in the Keyword View and Expert View.