See the time function or the time command.
In reply to Re: To get all duration tests with Selenium by Corion in thread Reaped: To get all duration tests with Selenium by NodeReaper