I am trying to click a flash image. (This has animation for 15 seconds and finally stays on some image after end of animation. I am capturing this final image for capture and waiting for it.) The script is always failing to find the image after waiting for 15 seconds. The same script works fine if it needs to find a standard image that is found and clicked. However, my test scenario requires it to be executed on standard images and next test case when there is flash image after animation for 15 seconds.
Any reasons why this may be failing ?