Capture and Compare with Recorder : Automation Tools

Capture and Compare with Recorder

Ranorex Spy, Recorder, and Studio.

Capture and Compare with Recorder

Postby robinsiebler » Wed May 12, 2010 1: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?
robinsiebler
 
Posts: 6
Joined: Tue May 04, 2010 9:04 pm

Re: Capture and Compare with Recorder

Postby Support Team » Wed May 12, 2010 10: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
User avatar
Support Team
Site Admin
 
Posts: 4837
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation Tools

Who is online

Users browsing this forum: No registered users and 0 guests