A question about Checkpoints
I have various checkpoints that are going to be setup with this product however as I create new data my the values will be different than
what the baseline would be.
For example say the baseline uses my name with all the appropriate information in the data.
However, I want to set it up as a variable where the checkpoint might have my name but then the next day I have a new persons
name and I want to have the checkpoint so that if that new person runs the script it will pass because it is setup correctly with a for various
people and different data that may be entered throughout.
> it has different data in it but the values are all correct that the checkpoint will pass.
Can you describe an algorithm that checkpoint should use to determine that values are correct?
General idea of checkpoint is to store a snapshot of correct data and then compare actual data with stored. If they match then, by definition, actual data are correct. If they don't match then actual data are incorrect just because they don't match stored data that you declared to be correct.
So, checkpoints can be used only if your code uses the same data (static data) for every execution.
If your data are dynamic, then you must somehow define/calculate expected correct data and compare actual data with those expected correct data.
/Alex [Community Champion]
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.