Page 1 of 1

Reports folder always created back

Posted: Mon Apr 26, 2010 3:21 pm
by Munro89
I have a few projects in my solution that are not running any tests. They are mainly used for test logic and tools.

However, every time I rebuild those projects, the Reports folder is always created, even if I delete it. How can I get rid of this?

Thanks !

Re: Reports folder always created back

Posted: Mon Apr 26, 2010 4:16 pm
by Support Team
Hi!

No it's not possible to turn off the automatic generation of this folder. The only way is to delete this folder manually, but I will submit a feature request in our internal bug tool.

Regards,
Peter
Ranorex Support Team

Re: Reports folder always created back

Posted: Mon Apr 26, 2010 8:12 pm
by Munro89
As it is now, I will have to manully delete it after every time I compile?

I understand having to delete it once, but now it's creating back every time I compile again.

Re: Reports folder always created back

Posted: Tue Apr 27, 2010 8:13 am
by Support Team
Hi!

Presently you have to delete the folder, every time you compile, manually, because the folder generation is hard-coded in Ranorex Studio.

Regards,
Peter
Ranorex Support Team

Re: Reports folder always created back

Posted: Thu Mar 24, 2011 8:41 pm
by tallahassee101
Has this been fixed or added as a parameter/property of the project in version 3.0? It is really annoying if I checkout our solution from subversion and run the test suite the Reports folder is generated and this modifies the actual project file. There needs to be a way for the Reports folder to be generated but not included as part of the project, otherwise subversion is going to say that the file has been modified every time you run a test and generate a report.

Re: Reports folder always created back

Posted: Thu Mar 24, 2011 9:21 pm
by Ciege
With Subversion can't you just add an ignore parameter to ignore any reports folder?

For example:
http://www.petefreitag.com/item/662.cfm

Re: Reports folder always created back

Posted: Thu Mar 24, 2011 10:28 pm
by tallahassee101
The problem is not the reports folder being created, its that the reports files that are created are actually referenced in the project file.

This line is put in my csproj file when a report is created:
<None Include="Reports\Project_20110315_120342.rxlog" />

So if I do not delete the report in Ranorex then subversion will show my project file as modified.

Re: Reports folder always created back

Posted: Thu Mar 24, 2011 10:33 pm
by Ciege
Ah, I see... Sorry for my misunderstanding of the issue...

Re: Reports folder always created back

Posted: Fri Mar 25, 2011 12:50 pm
by Support Team
Hi,

you can set the report name to a fixed value in the projects properties.
Then the project file should not be modified during each test run.

Kind regards,
Tobias
Support Team

Re: Reports folder always created back

Posted: Thu Sep 15, 2011 4:18 pm
by timbuethe
Support Team wrote: you can set the report name to a fixed value in the projects properties.
Then the project file should not be modified during each test run.
I can't find it, where should it be set?

Re: Reports folder always created back

Posted: Thu Sep 15, 2011 4:24 pm
by Ciege
Use

Code: Select all

Report.Setup(ReportLevel.XXX, MyLogFilePathAndName, true);

Re: Reports folder always created back

Posted: Fri Sep 16, 2011 8:02 am
by Support Team
What I menat was the Test Suite Properties.
You can open the test suite's properties dialog by selecting the context menu item 'Properties' on the test suite root node in your current Test Suite.

Kind regards,
Tobias
Support Team

Re: Reports folder always created back

Posted: Fri Sep 16, 2011 2:28 pm
by timbuethe
I don't see it (see attached screenshot)

Re: Reports folder always created back

Posted: Mon Sep 19, 2011 8:33 am
by Support Team
Hi,
  • open your Test Suite (*.rxtst)
  • right click on the root node (Test Suite node)
  • from context menu click on properties
Regards,
Tobias
Support Team