varghesejim
11 years agoOccasional Contributor
Re-running current scripts to update checkpoints
We have a testcomplete script which opens many type of reports from menu, run the report and check some cells in the report grid against previous saved checkpoint data.
If the reference data itself is changing, is there any way we can automatically update the saved check point values. For example, run the current test in "record" mode and test complete will just update the checkpoint values instead of comparing?
If the reference data itself is changing, is there any way we can automatically update the saved check point values. For example, run the current test in "record" mode and test complete will just update the checkpoint values instead of comparing?
- For objects from the Stores project item you can do this:
1. Tools | Options | Engines | Stores (check all necessary checkboxes fr Pictures/Objects, etc.)
2. Select each object which need to be updated during test run and tick Update checkbox next to object name.
However, this is impossible for Property checkpoints, for instance.
Also, do not forget to uncheck these options after updating, otherwise your tests will not verify anything, but update data each run.