How to save a number (seconds) in debug file?
Asked by
shaihulud
Hi, i want to time how long it takes for several user scenarios to execute and print it into a seperate debug file. In short this is what i tried:
Debug.setUserLo
start = time.time()
#test
stop = time.time()
elapsed = stop - start
Debug.user(elapsed)
However the Debug.user(elapsed) does not work and the this message follows:
[error] TypeError ( user(): 1st arg can't be coerced to )
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.