Page 1 of 1

Using timestamp instead of duration when executing steps

Posted: Tue Nov 26, 2013 8:57 am
by stefan_u
Hello everyone!
I have difficulties in interpreting the information included in Ranorex reports.
Specifically we need to see the time when a specific test step has failed and compare with the time displayed in a log file created by our application.
However the Ranorex reports display the elapsed time since test start when a test step was performed.
In older documentation we have seen the timestamp instead of duration so my question is how can we see again the timestamp and not the duration in the raporex reports?

Thank you in advance!

Re: Using timestamp instead of duration when executing steps

Posted: Wed Nov 27, 2013 5:46 pm
by Support Team
Hello Stefan,

You could still use the old report format to log the timestamp of each step.
Please add the following line of code into your Program.cs at in the Main() method:
Report.Info("Old Report format!");
This will create an additional report using the old report format.
Please note that this is not recommended since it might not work in future versions of Ranorex.

Regards,
Markus (T)

Re: Using timestamp instead of duration when executing steps

Posted: Wed Apr 16, 2014 8:39 am
by Support Team
Hi,

please also have a look at the following forum thread:
http://www.ranorex.com/forum/timestamps ... t5976.html
This issue has also been discussed there and another solution is provided.

Kind regards
Roland (E)
Ranorex Team