sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29301
[Question #257761]: How to use logical operators in sikuli?
New question #257761 on Sikuli:
https://answers.launchpad.net/sikuli/+question/257761
Hi All,
Please advise how to use logical operators in sikuli?
I have tried following code. But it did not work-
if exists (or_("7655676576.png","7576577.png" )):
click(Pattern("8987989.png").targetOffset(11,0))
sleep(2)
if exists("1416238084264.png"):
print "Ticket is working fine"
else:
print "Not working"
Note:-
Please mention syntax for AND, OR, NOT for sikuli
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.