Sikuli fail when it didnot find the match

Asked by Lakshman

Iam using,

Click(Image.png) Saving this as Image.skl

Iam running this in Robot Framework with RUN Keyword as

RUN Image.skl

When Sikuli is not finding the Image it is throwing some Pop up Window saying it didn't find.

But Actually if it didnot find it should fail the test case. Please resolve this.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

--- Please resolve this --- LOL
IMHO it is up to you to resolve this: e.g. by adjusting your testing implementation.

There are some options with Sikuli, how to avoid FindFailed exceptions and keep control in the script (see docs), so you could end the script in a way that it is interpreted by RFW as fail.

Can you help with this problem?

Provide an answer of your own, or ask Lakshman for more information if necessary.

To post a message you must log in.