Question #705498 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/705498
William Wilkins posted a new comment:
It seems to have issues with this use case as well, the problem is that
it clicks for pattern2 location for 3-6 when they are true. Expectation
would be to click the exists check image.
settings1 = ("Yes", "No")
selected = select("Question?", "Title", options = settings1)
if selected == settings1[0]:
settings_bar.click(<some_pattern1>,1)
try:
click(Pattern(<some_pattern2>).similar(0.90).targetOffset(75,-1),1)
except FindFailed:
current = Do.popup("Popup", "Failed")
exit(1)
if settings.exists(Pattern(<some_pattern3>).similar(0.90)):
click(getLastMatch(),1)
if settings.exists(Pattern(<some_pattern4>).similar(0.90)):
click(getLastMatch(),1)
if settings.exists(Pattern(<some_pattern5>).similar(0.90)):
click(getLastMatch(),1)
if settings.exists(Pattern(<some_pattern6>).similar(0.90)):
click(getLastMatch(),1)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp