Page 1 of 1

Capture and Compare with Recorder

Posted: Wed May 12, 2010 12:28 am
by robinsiebler
I want to capture an image of a portion of the screen during the Record phase and compare it to the screen during the Playback phase. How do I do this?

Why do I want to do this? I want to test the Undo/Redo functionality of the AUT. I want to verify that if I move an object to several locations, undo/redo correctly positions the object. Is there a better way to verify this than an image comparison?

Re: Capture and Compare with Recorder

Posted: Wed May 12, 2010 9:40 am
by Support Team
Hi!
robinsiebler wrote:I want to capture an image of a portion of the screen during the Record phase and compare it to the screen during the Playback phase. How do I do this?
Use Image Based Recording to validate if the image contains your expected part of the picture during runtime.
Please take a look to following screen cast for image based recording
http://www.ranorex.com/support/screencasts.html
robinsiebler wrote:Is there a better way to verify this than an image comparison?
If the object has an index, why you don't validate if the index of this object changed after the Undo/Redo action. Or even check the path of this item changed.

Regards,
Peter
Ranorex Support Team