Compare Images Using Ranorex

Ask general questions here.
Gowtham
Posts: 2
Joined: Fri Oct 26, 2018 1:42 pm

Compare Images Using Ranorex

Post by Gowtham » Thu Nov 01, 2018 6:58 am

Hi. I have the following requirement.
I have a web application. I need to run Ranorex on this application on daily basis and I should take screenshots of some particular web pages on the application. Consider that I have saved these screenshots under a user specific directory. Now I want to compare current day's screenshot with previous day's screenshot(say...current day's dashboard with previous day's dashboard screenshot) in case of any UI changes. How can I achieve this? Is this even possible using Ranorex?

jsmith
Posts: 24
Joined: Mon Mar 05, 2018 4:03 pm

Re: Compare Images Using Ranorex

Post by jsmith » Fri Nov 02, 2018 1:03 pm

Yes. I take screenshots and save them to custom directories. I compare todays screenshots against static reference images, but it would only be a small edit for you to create a directory for todays screenshots, then compare them against the directory you made yesterday.
My solution uses GraphicksMagick api. I don't know if Ranorex can do this natively.

also see here:

viewtopic.php?f=4&t=8405&p=34043#p34103