Selenium IDE - 输出中的脚本执行时间 [英] Selenium IDE - script execution time in output
本文介绍了Selenium IDE - 输出中的脚本执行时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你知道如何在 Selenium IDE 中查看脚本执行时间吗?我应该使用什么样的命令或选项?
Do you know how to check the script execution time in Selenium IDE? What kind of command or option I should use?
提前致谢!
推荐答案
我也在想同样的事情,这就是我想出的.
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 |
这篇关于Selenium IDE - 输出中的脚本执行时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文