← Back to team overview

sikuli-driver team mailing list archive

[Question #280855]: There are two buttons that are exactly the same, one is gray but one is yellow. I want it to chose the yellow and not the gray.

 

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

I am using SikuliX to run automated tests on a program. I have multiples of certain buttons in the program but I only want Sikuli to select the buttons when they are yellow (not gray). I have tried using "Setting.MinSimilarity = 1.0" but still no help as the buttons are the same, except for color. I can't use regions to search either, I want Sikuli to, essentially, look at each screen of the program and select all the yellow buttons. Is there a way for Sikuli to recognize a certain color? In this case, yellow.

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