sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #06518
Re: [Question #177265]: code works once
Question #177265 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/177265
RaiMan proposed the following answer:
This is your script more complex:
for i in range(10): # repeat 10 times
click("1320241172682.png")
wait(2)
for i in range(10): # repeat 10 times
click("1320241215290.png")
wait(2)
for i in range(10): # repeat 10 times
click("1320241396712.png")
wait(1)
click("1320241528063.png")
wait(2)
What is then sense of it? If you click something, then something should
happen at least after a while. So why click over and over again?
the normal workflow is to click something and then wait for the expected
next screen situation (e.g. with exists()) and then proceed with the
next action.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.