Image recognition is not consistent. Sometimes it is not able to match some images in scren.

Asked by Deepesh

I am writing a sikuli script for automating testing for one of our Flash application. I see that it is not consistent. Sometimes it fails saying that image cannot be find. Any solution for it?

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
masuo (masuo-ohara) said :
#1

If although the finding image has appeared but FindFailed has occured, it might be that the feature of find worked before the application draw the region of that window.
In this case, you may use feature of wait instead of find.

wait("image.png", 10)

Can you help with this problem?

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

To post a message you must log in.