← Back to team overview

sikuli-driver team mailing list archive

[Question #196878]: how to run the FOR loop in second time

 

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

Hi,
here i have attach my code, there is one problem.
when i run this code it runnind first value of "m".
that is it running fine for m=1 and n=0,1,2,3,4,5,6,7
i want run the same for m=2,3,4
but the code stoped at second time when m=2.




for m in range(1,5):   
   click("1336727557660.png")     ## code stoped here at second time
   wait("1336461059124.png",10)
   for n in range(0,8):
          click("HunTestSuite.png")
          wait("1336481937003.png",15)
          click("1336481997673.png")
          wait("1336643126473.png",7)
          type("4")
          click("1336454365526.png")
          click("1336454386648.png")
          click("1336454403989.png")
          click("1336454429923.png")
          wait("1336482172308.png",5)
          click("1336454429923.png")
          wait("1336462550627.png",5)
          click("1336454440328.png")
           type("1336461313727.png",str(n))
          click("1336454455872.png")
          type("1336471520558-1.png",str(m))
          click("1336471543846.png")
          wait("1336462307251.png",19223)
          click("1336454403989.png")
   wait(50) 
   click("1336642874695.png")
   wait("1336726966857.png",10)
   exists("1336727557660.png")

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