Monday, July 7, 2008

What is text checkpoint in QTP?


Enables you to check that the text is displayed in a screen, window, or Web page, according to specified criteria. It is supported for all environments.

Text (or text area) checkpoints may behave differently in different run sessions depending on the operating system version you are using, service packs you have installed, other installed toolkits, the APIs used in your application, and so on.

Therefore, when possible, it is highly recommended to check text from your application window by inserting a standard checkpoint for the object containing the desired text, using its text (or similar) property.

To add a text checkpoint while recording:

Choose Insert > Checkpoint > Text Checkpoint > Click the text string for which you want to create the checkpoint. The Text Checkpoint Properties dialog box opens.






Specify the checkpoint settings. > Click OK to close the dialog box.

No comments: