In my log file for my suite run I see:
Duration
56.95s
I have code in which I am trying to determine the run duration.
double dblElapsed = (double) Ranorex.Core.Reporting.ActivityStack.Current.ElapsedTime.Milliseconds / (double) 1000;
The values are different. I can readily imagine the ActivityStack here refers to one test in the suite or some such. But I cannot see how to iterate through the stack or get the elapsed time for the suite.
Anyone?
Thank you
Where to get the elapsed time for entre suite run
Re: Where to get the elapsed time for entre suite run
I think this might be what you're after:
var dblElapsed = (double)Ranorex.Core.Reporting.ActivityStack.Instance.RootActivity.ElapsedTime.Milliseconds / 1000;
Jarrett Karyshyn
Quality Assurance & Automation Engineer
USA - EST (UTC−05:00)/EDT (UTC−04:00)

Quality Assurance & Automation Engineer
USA - EST (UTC−05:00)/EDT (UTC−04:00)
