how calculate response time between click and exists

Asked by Joe White on 2012-05-02

I'm trying to find a simple way to calculate response times between click() and exists().

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2012-05-02
Last reply:
2012-05-02
RaiMan (raimund-hocke) said : #1

image = "some-image.png"
start = time.time() # now
click(image)
elapsed = time.time() - start
print "click(%s) took %.3f second(s)"%(image, elapsed)

Can you help with this problem?

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

To post a message you must log in.