How to change default delay time in sikuli?

Asked by Amutha Sreenivasan

Hi,
 my application is too slow. would like to test performance using this tool. is there any way to change(increase) default delay time? so that, script will be written without any wait and sikuli wait until the image appears(becaz of maximum dalay). I think This would help to measure the performance?

Also, would like to know is there any other way to run performance test using this tool?

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Amutha Sreenivasan
Solved:
Last query:
Last reply:
Revision history for this message
Roman Podolyan (podolyan-roman) said :
#1

Probably you need to read this topic on waiting for something:
http://doc.sikuli.org/region.html#observing-visual-events-in-a-region

Also I used Settings.MoveMouseDelay ( http://doc.sikuli.org/globals.html#Settings.MoveMouseDelay ) for increasing interval between _actions_ (and it worked). I have doubts that it suites for all of your purposes — but you can experiment with it.

Revision history for this message
Roman Podolyan (podolyan-roman) said :
#2
Revision history for this message
Amutha Sreenivasan (amuthasree) said :
#3

Thanks Roman .It works now.