STEPS
Press Record -> Insert -> Checkpoint ->
Standard Checkpoint
Select the object on which
Standard checkpoint has to be placed.
A new window will open for
“Checkpoint properties”
Here we can select the properties
that we want to check.
We can configure value as :
1. Constant : put some constant
value that is the expected value.
2. Parameter : We can parameterize
the value also and can select the values from our desired location.
Checkpoint timeout:
At run time QTP will wait for the
time that is provided in Checkpoint timeout value if the expected result is not
there.
Press Ok, code as below will be
generated automatically.
Window("Calculator").WinEdit("Edit").Check
CheckPoint("Edit")
We can EDIT the Checkpoint by
placing curson on Checkpoint -> Right Click -> Checkpoint properties.