Page 1 of 1

API Call to Obtain Execution Time Related Information

Posted: Thu Aug 01, 2019 4:53 am
by Balash
1) In the Reaorex reports the execution time of each step is reported. Is there an API to access these time?
2) In general what are the APIs to access time related information? That could be execution time of a step, test case or iteration of a test case?

Regards,

Re: API Call to Obtain Execution Time Related Information

Posted: Fri Aug 02, 2019 7:46 pm
by N612
The below code will get you the current test containers total elapse time from when it started. With this you can calculate the time between actions. Otherwise, you will need to implement your own time calculating method using something like System.Timers.

Code: Select all

Ranorex.Core.Reporting.ActivityStack.Current.ElapsedTime