Forum Discussion
Hi Russel,
Out of curiosity... Can you provide your definition of checkpoint and a sample use case?
Assuming that checkpoint is a result of Log.Checkpoint command and/or any other checkpoint command provided by TestComplete (File, Region, web table, etc.) and that one test item can (and usually do) contain more than one checkpoint, what metric can be obtained from the summary that will have, say, text like "9 test items passed with 10 checkpoints" ? Will that mean that 8 test items have 1 checkpoint each and the 9th test item has 2 checkpoints? Can this help to figure out the situation when one test item contains all 10 checkpoints while 8 others contain none? Is the number of checkpoints somehow correlated with the quality of the given test?
Just wondering...
Prime example... I have some test cases that I'm working with that only have 5 or 6 "checkpoint" calls in them. Other functionality is tested using "if-then" logic to detect objects, error message, etc. If all the checkpoints pass but one of those other logic statements fail, the test fails. The detailed test log then gives me the why. Likewise, if the logical tests pass but the one of the checkpoints fail, still, the test fails.
I have other test cases that have 20-30 checkpoints in them. A count, from the log, of all checkpoints and their individual result (pass or fail) is not important to me. What's important is if the test case in total passes or fails. If it passes, I really could care less what the checkpoints tell me. If it fails, then I dive into the detail log to determine what, exactly, generated the error.
So, as AlexKaras, it might be helpful to know what usage you have for the checkpoint counts and how it relates to the status of any given test run/test case. There may be better ways of achieving your goal.
Related Content
Recent Discussions
- 23 hours agoGane195