问题
Do you know how to check the script execution time in Selenium IDE? What kind of command or option I should use?
Thanks in advance!
回答1:
I was wondering the same thing, and this is what I came up with.
storeEval | new Date().getTime() | startTime
// The rest of your code here
storeEval | new Date().getTime() | endTime
storeEval | (${endTime} - ${startTime}) / 1000 | scriptExecutionTime
echo | ${scriptExecutionTime} seconds |
来源:https://stackoverflow.com/questions/15000648/selenium-ide-script-execution-time-in-output