New question #245383 on Sikuli:
https://answers.launchpad.net/sikuli/+question/245383

Hello,

In my web application I have an animation, lets say that an object (square) is 
moving on the screen from point A to point B. I would like to veryfy that my 
object (square) appears somewhere beetween points A and B (that let me assume 
that the object was really aniumated and moved from A to B).

I did screenshot in which my object is somewhere beetween point A and B. And I 
tried to validate it that way (so I'm waiting for exact match)

objectMoving = Pattern("objectMoving.png").similar(0.99)
 
if wait(objectMoving , 10):
    print "picture visible"
else:
    print "picture not visible"

Unfortunetly, athough my object is really moving from A to B and for sure every 
time it match screen given as objectMoving.png, I'm sometimes getting "picture 
visible" and sometimes "picture not visible". So it seems that sikuli is not 
able to recognize it every time. My object will match view in objectMoving.png 
only once (in given for wait 10 seconds).

Any sugestion how to handle this issue?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to