Elapsed time and result of a test in variables
问题 Is it possible to determine the elapsed time and the result of the current test in a variable? I'd like some tests to log their results external systems, and so ideally in [Teardown] I'd like to know: Elapsed Time of current test Result of the test Is that possible? 回答1: The listener interface provides an elapsed time in milliseconds, at the end of execution of each keyword, test, and suite. See the section titled Taking listeners into use in the user guide. Starting with robot framework 2.8