how to find and check an image
Asked by
Loren Lai
Hello everybody,
I face another issue again. :-(
I use the find (image) command in sikuli to identify an image. After that I would like to check if it is available, e.g.
click (navi)
sleep(1)
myImage = find (myImage)
sleep(1)
popup (myImage) #does not work -> error msg
if exists (myImage):
popup ('found myImage')
else:
popup('not found')
I always got 'not found' .... but I'm sure that it has found myImage ... I think something is wrong with if exists (myImage) ???
Could you help ? :-)
Thank you.
Cheers
Loren
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Loren Lai for more information if necessary.
To post a message you must log in.