Capture and Compare with Recorder

Ranorex Spy, Recorder, and Studio.
robinsiebler
Posts: 6
Joined: Tue May 04, 2010 8:04 pm

Capture and Compare with Recorder

Post by robinsiebler » Wed May 12, 2010 12:28 am

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?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Capture and Compare with Recorder

Post by Support Team » Wed May 12, 2010 9:40 am

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
.
Image