Comparing Screenshots

Hi, Is there a way to compare 2 screenshots together in Uipath? When I say compare it is more around their UI (look and feel)

Do you want to know if it matches or not? Or bot should be able to tell the differences as well?

just if it matches will do

One way is probably you could open one screenshot (visibility) using Start Process and use image exists or image matches by passing 2nd screenshot.

1)Start process
2)Load image- 2nd screenshot
3)Image exists or image matches - variable you got from 2

you could iterate the accuracy between 0.6-0.9 in steps of 0.05 in case if you have issues detecting image.

Hi @vvaidya,
Can u pls provide xaml for comparing two screenshots.I want to comapre (1st and 2nd , 2nd and 3rd, 3rd and 4th image likeā€¦) .
Thanks in advance.

ImageCompare.xaml (16.4 KB)

Hey @vvaidya,

I have tried using ImageExists activity to verify if the image in my local system matches with the one in the browser.
It is returning False always, I used highlight activity to make sure correct element is being used to compare.
I am stuck and really need help right now.
Thanks