← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #182678]: "assert exists" doesn't seem to work.

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
No, but this is the most often usage.

assert <condition>

does nothing if condition evaluates to True and throws an Assertion
Exception (which ends the script, if you do not catch it) if it
evaluates to False.

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