How to validate image based test
Posted: Thu Sep 01, 2016 7:31 am
Hi,
I have application under test which is windows application. Application area is divided into segments(compartments) in which images are displayed. This image has some text, labels and other information. And we do some operation, text or labels are changing accordingly.
So my question is, Ranorex recognise as screenshot of each segments. What would be best way to validate if i perform some operation e.g. zoom/pan/scroll/drawn an rectangle on the image whether really these operations happened.
One way is to capture the image as bitmap and compare but any diff will may pass or fail our step.
e.g. we are trying to pan, took the screenshot before panning, after performing pan taken the screenshot and compere, it might be possible that instead on pan something else happened and hence there is difference and therefore its passed.
Kindly suggest, looking forward.
I have application under test which is windows application. Application area is divided into segments(compartments) in which images are displayed. This image has some text, labels and other information. And we do some operation, text or labels are changing accordingly.
So my question is, Ranorex recognise as screenshot of each segments. What would be best way to validate if i perform some operation e.g. zoom/pan/scroll/drawn an rectangle on the image whether really these operations happened.
One way is to capture the image as bitmap and compare but any diff will may pass or fail our step.
e.g. we are trying to pan, took the screenshot before panning, after performing pan taken the screenshot and compere, it might be possible that instead on pan something else happened and hence there is difference and therefore its passed.
Kindly suggest, looking forward.