← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #205694]: Boost unit test with Sikuli

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
use instead of assert exists():

if not exists(picture): exit(1)
else: exit(0)

and check the return code in the calling environment.

Assert fail will abort the script with an assertion exception.
I do not know, wether you can handle this situation in your environment.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.