sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #04008
Re: [Question #165286]: Can we have On Error Resume Next option to resume in errors?
Question #165286 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/165286
Status: Open => Answered
RaiMan proposed the following answer:
--- While i use exists(), is there any way i can display a user friendly
error like "Browser not open" etc... and then exit program?
if not exists(img):
popup("error message")
exit(1)
--- Is there any way to resume in errors instead of hanging up?
use the above option 3 (SKIP or RETRY)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.