Report Configuration

Ranorex Spy, Recorder, and Studio.
stevenh
Posts: 11
Joined: Wed Sep 05, 2012 9:51 pm

Report Configuration

Post by stevenh » Wed Oct 03, 2012 9:21 pm

Hi,

I was wondering if there was a way to configure Ranorex so that it outputs two identical report files with the same name. This is so that one of the file can be used by another program and the other can be stored for reference. I also attempted to try and copy the report file in the Ranorex Program.cs file but was unsuccessful as it seemed that the report file did not appear until after the code was finished running.

Thanks,
Steven

User avatar
Ciege
Ranorex Guru
Posts: 1335
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: Report Configuration

Post by Ciege » Wed Oct 03, 2012 10:21 pm

Not sure if there is a way to have 2 reports output, but you should be able to copy the report just fine.

Just make sure you do a Report.End() to close the report.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...

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

Re: Report Configuration

Post by Support Team » Thu Oct 04, 2012 9:33 am

Hi Steven,

This is already done, one report will be saved to the output directory and a copy of it will be saved to the Report directory so there should be already two identical report files.
If you want to copy it in the program.cs you have to place the code after the code which executes the test suite.

Regards,
Markus
Ranorex Support Team
.
Image

stevenh
Posts: 11
Joined: Wed Sep 05, 2012 9:51 pm

Re: Report Configuration

Post by stevenh » Fri Oct 05, 2012 4:31 pm

Thanks, I think I understand what happened. I was looking for the report file to appear in the Report directory but it was not originally being outputted there. What I had to do was configure it in the Test Suite properties window so that it would output to the Report directory instead. This allowed the file to already be in existence once the test finished instead of it being copied over from a different location.

Steven