Sunday, July 6, 2008

What is check point in QTP?


A checkpoint is a verification point that compares a current value for a specified property with the expected value for that property. This enables you to identify whether your Web site or application is functioning correctly.

When you add a checkpoint, QuickTest adds a Check CheckPoint statement in the Expert View.

If you want to retrieve the return value of a checkpoint (a boolean value that indicates whether the checkpoint passed or failed), you must add parentheses around the checkpoint argument in the statement in the Expert View. Ex:

a = browser("MyBrowser").page("MyPage").check (checkPoint("MyProperty"))

No comments: