help

Asked by Evgeniy

Hello, I have a problem, I installed a program with which I would like to play flash application. do a screen image, and then run the application and gives an error that the image was not found. [error] script [* Unnamed] stopped with error in line 1
[error] FindFailed (can not find 1408733296651.png on the screen.) my windows 8. help

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
Eugene S (shragovich) said :
#1

Hi,

Please make sure:
1. The full pattern is on the screen and nothing is blocking it or any parts of it.
2. The saved image is exactly the same as the screen pattern. Even smallest deviations matter. T do that, you can just take an additional image and compare both of them side by side.
3. There is enough time to catch the image. Maybe your script expects the image too early or too late. To eliminate this option you can try a simple test:

while True:
    if exists("1408733296651.png"):
        print "Image found!"

then run it and see if that responds as expected.

Cheers,
Eugene

Revision history for this message
Jonas Maurer (jonas-maurer) said :
#2

you get that error because your application did not find the pattern you were looking for.

can you please be more elaborate on what exactly are you trying to do?

Can you help with this problem?

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

To post a message you must log in.