Using timestamp instead of duration when executing steps

Ask general questions here.
stefan_u
Posts: 1
Joined: Tue Nov 26, 2013 8:49 am

Using timestamp instead of duration when executing steps

Post by stefan_u » Tue Nov 26, 2013 8:57 am

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!

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Using timestamp instead of duration when executing steps

Post by Support Team » Wed Nov 27, 2013 5:46 pm

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)
.
Image

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Using timestamp instead of duration when executing steps

Post by Support Team » Wed Apr 16, 2014 8:39 am

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
.
Image