Reports folder always created back

Ask general questions here.
Munro89
Posts: 17
Joined: Thu Feb 18, 2010 10:06 pm

Reports folder always created back

Post by Munro89 » Mon Apr 26, 2010 3:21 pm

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 !

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

Re: Reports folder always created back

Post by Support Team » Mon Apr 26, 2010 4:16 pm

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

Munro89
Posts: 17
Joined: Thu Feb 18, 2010 10:06 pm

Re: Reports folder always created back

Post by Munro89 » Mon Apr 26, 2010 8:12 pm

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.

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

Re: Reports folder always created back

Post by Support Team » Tue Apr 27, 2010 8:13 am

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

tallahassee101
Posts: 169
Joined: Thu Jan 13, 2011 2:06 pm

Re: Reports folder always created back

Post by tallahassee101 » Thu Mar 24, 2011 8:41 pm

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.

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

Re: Reports folder always created back

Post by Ciege » Thu Mar 24, 2011 9:21 pm

With Subversion can't you just add an ignore parameter to ignore any reports folder?

For example:
http://www.petefreitag.com/item/662.cfm
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...

tallahassee101
Posts: 169
Joined: Thu Jan 13, 2011 2:06 pm

Re: Reports folder always created back

Post by tallahassee101 » Thu Mar 24, 2011 10:28 pm

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.

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

Re: Reports folder always created back

Post by Ciege » Thu Mar 24, 2011 10:33 pm

Ah, I see... Sorry for my misunderstanding of the issue...
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: 11710
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Reports folder always created back

Post by Support Team » Fri Mar 25, 2011 12:50 pm

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

timbuethe
Posts: 15
Joined: Mon Aug 22, 2011 11:08 am

Re: Reports folder always created back

Post by timbuethe » Thu Sep 15, 2011 4:18 pm

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?

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

Re: Reports folder always created back

Post by Ciege » Thu Sep 15, 2011 4:24 pm

Use

Code: Select all

Report.Setup(ReportLevel.XXX, MyLogFilePathAndName, true);
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: 11710
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Reports folder always created back

Post by Support Team » Fri Sep 16, 2011 8:02 am

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

timbuethe
Posts: 15
Joined: Mon Aug 22, 2011 11:08 am

Re: Reports folder always created back

Post by timbuethe » Fri Sep 16, 2011 2:28 pm

I don't see it (see attached screenshot)
Attachments
solution_properties.png
solution_properties.png (5.92 KiB) Viewed 1024 times

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

Re: Reports folder always created back

Post by Support Team » Mon Sep 19, 2011 8:33 am

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
Attachments
tst_settings.jpg
tst_settings.jpg (49.73 KiB) Viewed 1014 times
.
Image