There's no direct support. You could try using `Get Time` keyword from
BuiltIn in the beginning of a test to store the start time and compare
it with new time later.
Adding an automatic variable that contains the test execution time
would be possible. Or actually variables as there probably should be
separate variables for the current test, current suite, and whole
execution. Would anyone else found these variables useful?
Notice also that there's a separate tool to get the execution times
after the execution:
http://code.google.com/p/robotframework/wiki/ExecutionTimeReportingTool
Cheers,
.peke
--
Agile Tester/Developer/Consultant :: http://eliga.fi
Lead Developer of Robot Framework :: http://robotframework.org
${A1}= Get Time epoch
Sleep 2s
${B1}= Get Time epoch
${a}= Evaluate ${B1}-${A1}
${elapsed}= Get Time hour min sec ${a}
Log ${elapsed}
I am getting the our put as
['05', '30', '02']
Looks like it use the time zone into effect I see +5.30 is added to this, can we get around this?