sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #14876
[Question #215645]: Ifexists() function isnt working to me
New question #215645 on Sikuli:
https://answers.launchpad.net/sikuli/+question/215645
The below piece of code doesnt seem to be working. if i use ifexists() then always the +ve part is executed irrespective of the conditon. and the finder function is working always for the -ve part.
none of the functions are evaluating the condition properly.
can anyone please help me?
if exists("AueIV1ExtGnI.png"):
click("1353997241258.png")
else:
print "Its wrong"
f=Finder("AueIV1ExtGnI.png")
img="ExGnIodPnsen.png"
if f.find(img):
click("1353997241258.png")
else:
print "its worng"
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.