Forum Discussion

Lurveleven's avatar
Lurveleven
New Contributor
14 years ago

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

1 Reply

  • Hi Sigbjoern,



    I'd recommend using other types of checkpoints (property, object or table). Region checkpoints are less reliable anyway.

    As for the problem you described, it looks strange. Try capturing an image of your control before executing the checkpoint (this image should be for the same area as the one stored in the checkpoint) and check what is displayed on it.