← Back to team overview

sikuli-driver team mailing list archive

[Question #669205]: Sikuli not able to distinguish between these 2 images

 

New question #669205 on Sikuli:
https://answers.launchpad.net/sikuli/+question/669205

I want sikuli to click on OK if it looks like https://pasteboard.co/HlIH9xP.png and print "Error" if it looks like https://pasteboard.co/HlIHtFh.png. Sikuli is not able to differentiate between the 2 images. What should I do?

//code
if exists("OK_Correct.png"):
    click("OK_Correct.png")
else:
     print("Error")

It is trying to click on the image even when the 2nd image is there.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.