Page 1 of 1

Compressed Report?

Posted: Wed Feb 19, 2014 10:52 pm
by Mayra
Hi,
I do not notice any difference when I select to get a compressed report or not.
Basically I thought that I would get a compressed zip file of some sort that I can email and that my user could just unzip, select the html file and see the report in any browser.
Am I wrong assuming this? I have checked compressed copy and also changed the file to html.
I basically want to send the report via email with anything necessary for other ones to see.
I followed http://www.ranorex.com/blog/share-your- ... ny-browser but apparently I am not getting what I was expecting.
Can you tell me what to do, is the compressed file supposed to give me everything I need or what do I need to zip up to achieve what I want. I have the email part worked out, but not clear about the files that need to be attached. I also tried copying the html and the data file and I get Data file (Automation_20140219_141017.html.data) or transformation file is missing.
Thanks.

Re: Compressed Report?

Posted: Thu Feb 20, 2014 2:41 pm
by krstcs
Unless you told it to change the file name the compressed file will end with ".rxzlog". Notice the "z". And it will be placed in the same directory as the uncompressed report.


If you changed the name of the compressed file to "<your report name>.html" then it will over-write the uncompressed html report file but will still be zipped. You should be able to rename it to "*.zip" and unzip it if it is actually compressed.


Changing the names of existing files requires that the report.rxlog and report.rxlog.data be changed to report.html and report.html.data, respectively, or the html file will not be able to find the data, giving the error that you noted. In addition, if your test run does not finish correctly (as in the run aborted abnormally) then the data file may not be closed correctly, causing it to become corrupted, which will also give the error you got.

Re: Compressed Report?

Posted: Thu Feb 20, 2014 4:43 pm
by Mayra
I have tried the following:
I changed the report file to the original .rxlog and checked compressed copy. I am still not getting a compressed .rxzlog file.
I am still not clear on how to get a compressed log with all the necessary files, data, screenshots, etc.
Can someone help?
Thanks.

Re: Compressed Report?

Posted: Thu Feb 20, 2014 10:14 pm
by Mayra
The message about Data file (Automation_20140219_141017.html.data) or transformation file is missing is experienced with firefox and chrome, not with ie.?

Re: Compressed Report?

Posted: Fri Feb 21, 2014 11:36 am
by Support Team
Hi Mayra,

Can you post a screenshot of your output directory and a screenshot of your TestSuite Properties windows?
This will help us to better understand the issue.

Thanks,
Markus

Re: Compressed Report?

Posted: Fri Feb 21, 2014 11:02 pm
by Mayra
I did not see a compressed file but I was able to provide what I need for posting results to a url.
So, I copied the following:
RanorexReport4.css, RanorexReport4.png, RanorexReport4.xsl and I also get a copy of the report, report data and reportscreenshots using TestReport.ReportEnvironment.ReportDataFileName, TestReport.ReportEnvironment.ReportScreenshotFolderPath,
and TestReport.ReportEnvironment.ReportName.

However users are not able to open up the results in anything other than IE. For Chrome and Firefox they get The message about Data file or transformation file is missing . What should I do to make this work for other browsers.
Thanks.

Re: Compressed Report?

Posted: Mon Feb 24, 2014 3:54 pm
by Support Team
Hi Mayra,

That sounds really strange. Which Ranorex Version do you use? Do you cancel your test runs with the abort key?
As a workaround I would suggest to manually create a *.rxzlog.
After executing the test run right click the shown report -> Click “Save as …” . Save the Report as *.rxzlog (which is selected by default) to your desired directory.

Regards,
Robert

Re: Compressed Report?

Posted: Tue Feb 25, 2014 11:10 pm
by Mayra
Version is 4.1.4.16685, I just got my licenses purchased this week.

I am working around not having this compressed report and came up with a better solution to share the results. I have code that copies the following files to a share:
RanorexReport4.css
RanorexReport4.png
RanorexReport4.xsl
<reportName>+".html"
<reportDataFile>+.html.data

When using Chrome or Safari and clicking on the html file I get the following html.data or transformation file is missing, which I know is there. I can only look at the reports with IE. What can I do to overcome this?
Thanks.

Re: Compressed Report?

Posted: Thu Feb 27, 2014 11:02 am
by Support Team
Hello Mayra,

Unfortunately the issue is caused by Chrome. I cannot include Safari because it worked fine for me. In order to share your report files over the network please have a look at our blog entry: share-your-ranorex-report-using-any-browser.

As a workaround regarding the issue within Chrome:
Please set the flag “-allow-file-access-from-files” at the startup of Chrome in order to overcame that issue. A detailed description on how to do so can be found here: http://www.chrome-allow-file-access-from-file.com/

Regards,
Robert