Sometimes, property checkpoints fail because the object characteristics you are checking have been changed since the test was created. In this case, you need to update checkpoints to reflect these changes.
You can update property checkpoints directly from the test log. If the comparison condition is set to Equals, the expected property value specified in the checkpoint is replaced with the actual value during the test run. If the condition is set to some other value, the Property Checkpoint wizard is opened to modify the baseline value manually.
Updating property checkpoint baseline data from test logs is available only for property checkpoints in keyword tests. Updating property checkpoints in script tests is not available. |
To update checkpoint data:
-
Select the checkpoint failure message in the test log.
-
Switch to the Details panel.
-
Click the Update the property checkpoint link at the bottom of the panel.
-
TestComplete will display a message asking whether you want to update the checkpoint.
Click Yes in this message to close it and to update the baseline data used for the failed checkpoint.
If the Condition is set to Equals, TestComplete replaces the stored data with the actual data obtained during the runtime. Otherwise, TestComplete displays the Property Checkpoint wizard where you can modify the checkpoint data manually.
If you click No, TestComplete will close the message without updating the checkpoint.
See Also
Property Checkpoints
About Property Checkpoints
Checkpoint Wizard
Property Checkpoint Operation
aqObject.CheckProperty Method