I am using Ranorex 4.0.2
I realized that every single directory or folder that I have used as current directory, contains *.data_tmp files, and so I have to go to each of them and delete all these files. Is there an option or setting in Ranorex that I should use so that these files will be deleted after test finished or not generated at all.
Thanks
.data_tmp files
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: .data_tmp files
Hello,
This file is temporarily used to store report data during a test execution in the output directory.
It should be deleted automatically after the test had ended.
Do you have any issues with your reports?
Do you use a customized report or Report.Setup() in your code?
Regards,
Markus (T)
This file is temporarily used to store report data during a test execution in the output directory.
It should be deleted automatically after the test had ended.
Do you have any issues with your reports?
Do you use a customized report or Report.Setup() in your code?
Regards,
Markus (T)
-
- Posts: 77
- Joined: Wed Sep 26, 2012 8:15 pm
Re: .data_tmp files
They are not deleted after test case ended. I don't use Report.Setup at all, I only use Report.Info, Report.Failure, Report.Error, Report.Debug, Report.Success.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: .data_tmp files
Hello,
Could you please try to update to our current version of Ranorex (4.0.4)?
Ranorex can be downloaded from our archive.
Thank you in advance.
Regards,
Markus (T)
Could you please try to update to our current version of Ranorex (4.0.4)?
Ranorex can be downloaded from our archive.
Thank you in advance.
Regards,
Markus (T)
-
- Posts: 77
- Joined: Wed Sep 26, 2012 8:15 pm
Re: .data_tmp files
I will try and let you know.
Thanks
Thanks
-
- Posts: 77
- Joined: Wed Sep 26, 2012 8:15 pm
Re: .data_tmp files
I just upgraded to Ranorex 4.0.5, the *.data_tmp files are removed from Reports and bin\Debug or bin\Release; however, they are not deleted from other directories.
Example:
string pubDir = @"C:\\Users\\Public";
Directory.SetCurrentDirectory(pubDir);
After the test had ended, browse to C:\Users\Public\, and the file is there.
MyProject_1_20130711_070425.html.data_tmp
I double check all the directories that I used Directory.SetCurrentDirectory("anyDir");
They all contain the *.data_tmp files in this format: MyProject_1_20130711_<datetime>.html.data_tmp
Example:
string pubDir = @"C:\\Users\\Public";
Directory.SetCurrentDirectory(pubDir);
After the test had ended, browse to C:\Users\Public\, and the file is there.
MyProject_1_20130711_070425.html.data_tmp
I double check all the directories that I used Directory.SetCurrentDirectory("anyDir");
They all contain the *.data_tmp files in this format: MyProject_1_20130711_<datetime>.html.data_tmp
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: .data_tmp files
Hello,
Thank you for your short example.
It looks like that you set the working directory after your start the Test Suite.
Could you please try to add your lines of code before you call TestSuiteRunner.Run?
We recommend to specify the 'Report File Directory' via properties of the Test Suite.
Regards,
Markus (T)
Thank you for your short example.
It looks like that you set the working directory after your start the Test Suite.
Could you please try to add your lines of code before you call TestSuiteRunner.Run?
We recommend to specify the 'Report File Directory' via properties of the Test Suite.
Regards,
Markus (T)