← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #671096]: Is there any or any linked issue where I see how to have proper error handling in case we have multiple scripts and one of them failed then the program should continue with the rest of the execution flows, skipping that paty

 

Question #671096 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671096

    Status: Open => Answered

RaiMan proposed the following answer:
use
if exists(img):
    click()
else:
    # do something else

... and follow the conventions and features of Python unit testing.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.