| || |
How to record the execution time in Selenium IDE?
Please let me know how to record the Start time and end time in the Selenium IDE script?
Any help would be appreciated.
Re: How to record the execution time in Selenium IDE?
If you convert the script from HTML to a language with timing capabilities it would be quite simple. For example, save the script as Java then use the the System class. E.g.
<font class="small">Code:</font><hr /><pre> long start, end, total;
start = System.currentTimeMillis();
// your test goes here
end = System.currentTimeMillis();
total = end - start;
System.out.println("Test took " + total + " milliseconds.");