sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #30282
[Question #261233]: How to save a number (seconds) in debug file?
New question #261233 on Sikuli:
https://answers.launchpad.net/sikuli/+question/261233
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.setUserLogFile("C:\\Users....TestRepport.txt")
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 )
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.