sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #38647
[Question #295594]: Relaunch script on error
New question #295594 on Sikuli:
https://answers.launchpad.net/sikuli/+question/295594
I want to set sikuli to relaunch the whole script starting from line 1 incase it has encountered an error while executing or incase it has gone into a while loop which contains a wait function and it has waited more than x seconds.
Can anyone tell me how I can do that to my script for both cases ( went into an error, has waited more than x seconds inside a while loop)
I want to do this because I am running a 500 lines sikuli script, and this often encounters an error or bug that I can't solve all since there is a lot of conditions and bugs coming everytime.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.