sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24944
Re: [Question #245861]: Is there something like "exit(1)" that starts the script from a specific line, like "start(1)"??
Question #245861 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/245861
Status: Open => Answered
RaiMan proposed the following answer:
Currently we do not have such an option.
I to some extent agree, that it might be helpful in some cases, but surely not as a general approach.
The right way is modularization.
Split up your code in smaller parts, can be developed and tested alone with some setup before and optionally some teardown afterwards.
The modules are packed into scripts, that define callable functions and reusable classes and are made available to the main workflow using import.
The documents and this forum have more infomation.
If you want debugging you have to develop your scripts in a mature IDE
like Eclipse.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.