Reports folder always created back : General Questions

Reports folder always created back

Ask general questions here.

Reports folder always created back

Postby Munro89 » Mon Apr 26, 2010 4: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 !
Munro89
 
Posts: 17
Joined: Thu Feb 18, 2010 11:06 pm

Re: Reports folder always created back

Postby Support Team » Mon Apr 26, 2010 5: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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Reports folder always created back

Postby Munro89 » Mon Apr 26, 2010 9: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.
Munro89
 
Posts: 17
Joined: Thu Feb 18, 2010 11:06 pm

Re: Reports folder always created back

Postby Support Team » Tue Apr 27, 2010 9: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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Reports folder always created back

Postby tallahassee101 » Thu Mar 24, 2011 9: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.
tallahassee101
 
Posts: 125
Joined: Thu Jan 13, 2011 3:06 pm

Re: Reports folder always created back

Postby Ciege » Thu Mar 24, 2011 10: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...
User avatar
Ciege
 
Posts: 965
Joined: Thu Oct 16, 2008 7:46 pm
Location: Arizona, USA

Re: Reports folder always created back

Postby tallahassee101 » Thu Mar 24, 2011 11: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.
tallahassee101
 
Posts: 125
Joined: Thu Jan 13, 2011 3:06 pm

Re: Reports folder always created back

Postby Ciege » Thu Mar 24, 2011 11: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
Ciege
 
Posts: 965
Joined: Thu Oct 16, 2008 7:46 pm
Location: Arizona, USA

Re: Reports folder always created back

Postby Support Team » Fri Mar 25, 2011 1: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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Reports folder always created back

Postby timbuethe » Thu Sep 15, 2011 5: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?
timbuethe
 
Posts: 14
Joined: Mon Aug 22, 2011 12:08 pm

Re: Reports folder always created back

Postby Ciege » Thu Sep 15, 2011 5: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
Ciege
 
Posts: 965
Joined: Thu Oct 16, 2008 7:46 pm
Location: Arizona, USA

Re: Reports folder always created back

Postby Support Team » Fri Sep 16, 2011 9: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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Reports folder always created back

Postby timbuethe » Fri Sep 16, 2011 3:28 pm

I don't see it (see attached screenshot)
Attachments
solution_properties.png
solution_properties.png (5.92 KiB) Viewed 319 times
timbuethe
 
Posts: 14
Joined: Mon Aug 22, 2011 12:08 pm

Re: Reports folder always created back

Postby Support Team » Mon Sep 19, 2011 9: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 309 times
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to General Questions

Who is online

Users browsing this forum: No registered users and 0 guests