Lurveleven
14 years agoNew Contributor
Region Checkpoint fails when out of bounds
Hi,
I have set up a test with a Region Checkpoint on a displayed value in a grid control, when I change the value, then the test fails as expected. However, if the grid control is resized so the Region Checkpoint goes out of bounds, then the test is always successful no matter what the value is. I would expect it to cast a out of bounds exception like it does for Property Checkpoints that goes out of bounds, at least the test should fail. There is a potential for false positives the way it works now.
Sigbjoern
I have set up a test with a Region Checkpoint on a displayed value in a grid control, when I change the value, then the test fails as expected. However, if the grid control is resized so the Region Checkpoint goes out of bounds, then the test is always successful no matter what the value is. I would expect it to cast a out of bounds exception like it does for Property Checkpoints that goes out of bounds, at least the test should fail. There is a potential for false positives the way it works now.
Sigbjoern