Selenium IDE - script execution time in output

有些话、适合烂在心里 提交于 2019-12-24 01:18:28

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!