sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #30446
Re: [Question #261700]: Best practices for return value from sikuli script?
Question #261700 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261700
Status: Open => Answered
Eugene S proposed the following answer:
Hi,
I don't think using "return" is relevant in your case as you can use it only within the scope of a function, not just anywhere.
So the option you have are either using exit code different than 0 as you mentioned yourself or just creating simple text or csv file and write test status there. For example each one of your scripts can have a last line that will write some value to a file.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.