← Back to team overview

sikuli-driver team mailing list archive

[Question #243250]: Multiple if else Problem...

 

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

The below coding works fine till 2nd elif.. bt when it moves to 3rd elif its not able to identify the image..  
if exists("Wl.png"):
          mouseMove("Wl.png")
          click("1390901431169-1.png")
 elif exists("1391427379709.png"):
          mouseMove("1391427379709.png")
          click("1390901695089.png")
 elif exists("1391402658828.png"):
          mouseMove("1391402658828.png")
          click("4.png")
 elif exists("1390903477117.png"):
          mouseMove("1390903477117.png")
          click("1390903521525.png")
 elif exists("1391424371172.png"):
          mouseMove("1391424371172.png")
          click("1391424719725.png")

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.