I am trying to automate and measure the performance of an application and some use cases .The application launches the remote server through the VNC and do some user actions on the remote server. We are planning to use sikuli with python for this testing. I am very new to sikuli.
How can I measure the time of the user actions in sikuli? For example, Im clicking on a button in the screen of the remote server and another screen launches. How to measure this?
I think you can do something like this start = time.time() is not a timer. it just stores the time at the moment this statement is processed into the value start. So later on all around the place, where you have access to the variable start, you can check the time, that elapsed since start: elapsed = time.time() - start
So without stepping into subprocessing or even event processing, you need a function that starts a new timer and can be asked, whether a given time has elapsed and a global storage for the timer values.