Page 2 of 3

Re: Report as pdf

Posted: Fri May 03, 2013 3:16 pm
by Support Team
Hello,

We have changed reporting since Ranorex 4.x.
Additionally, a data file is used to store report information.

The reports are now generated in HTML format and not in XML.
Therefore, you could rename your reports simply into HTML.
Rename your <TestSuite>.rxlog into <TestSuite>.html and <TestSuite>.rxlog.data into <TestSuite>.html.data.

If you want to convert it to pdf, you could use tools like Bullzip.

Regards,
Markus (T)

Re: Report as pdf

Posted: Sat May 04, 2013 9:43 am
by sop
thank you, it works

Re: Report as pdf

Posted: Mon May 06, 2013 3:38 pm
by Support Team
Hello,

You are welcome :-)

Regards,
Markus (T)

Re: Report as pdf

Posted: Tue May 14, 2013 11:53 pm
by kacy
Changing the file names to .html and .html.data works for me, but only when the files are not relocated. If I move the files (.html and .html.data) from their original folder, opening the .html file gives me a blank IE page.

Am I missing something?

Thanks,
Kacy

Re: Report as pdf

Posted: Wed May 15, 2013 3:01 pm
by Support Team
Hello,

In order to open reports on a specified location, the following files need to be stored in the same folder:

RanorexReport4.css
RanorexReport4.png
RanorexReport4.xsl

Additionally, the image folder (if exists) needs to be copied into this folder.

Regards,
Markus (T)

Re: Report as pdf

Posted: Fri Jul 05, 2013 8:03 am
by AutomationTester
Hi Ciege,

I just did what Markus said in this thread. But, It's not opening the file in IE. Instead, It's asking to save the rxlog to computer and then open it. I did that around fifty times. It's saving the same file again and again but it's just not opening the file. I also tried the method posted in This http://www.ranorex.com/forum/renaming-r ... t4115.html Thread. This also not working in non-Ranorex machine. It shows Ranorex report viewer is not responding. Please Help.

My IE version is 9 and Ranorex version is 4.0.4.

Regards,
Amiruddin

Re: Report as pdf

Posted: Fri Jul 05, 2013 10:34 am
by Support Team
Hello Amiruddin,

Have you renamed your files into .HTML and .HTML.DATA?
Could you please post or send us your report in order to analyze it?

Regards,
Markus (T)

Re: Report as pdf

Posted: Mon Jul 08, 2013 6:51 am
by AutomationTester
Hai Markus,

I did as I mentioned in my earlier post.It's just opening the template and not the entire report.. Please find the attachment.

Regards,
Amiruddin

Re: Report as pdf

Posted: Mon Jul 08, 2013 1:23 pm
by Support Team
Hello,

Thank you for your report.

You report contains one *.HTML.RXLOG file and one *.RXLOG.DATA file.
The report file extensions need to be *.RXLOG and *.RXLOG.DATA or *.HTML and *.HTML.DATA.
Otherwise, you would not be able to open your report.

If you want to open your report using ReportViewer, you would need to delete 'HTML' in the first file.
If you want to open your report in a browser, you would need to rename your files into *.HTML and *.HTML.DATA. Please take a look at the attached report files.

Regards,
Markus (T)

Re: Report as pdf

Posted: Thu Jul 18, 2013 8:15 am
by AutomationTester
Hai Markus,

The report you sent are works like a charm in IE,Firefox and Safari on windows. Thanks for the reports. Actually, If I rename the *.rxlog file, It renames as *.rxlog.html. I don't know how you figure it out. BTW, It works I should work on it more precisely.

Thanks
Amiruddin

Re: Report as pdf

Posted: Thu Jul 18, 2013 3:40 pm
by Support Team
Hello,

You are welcome.
I assume that the setting 'Hide extensions for known file types' is enabled in Windows.
You could disable it in 'Advanced Settings' of the 'Tools > Folder Options > View' in Windows Explorer.

Regards,
Markus (T)

Re: Report as pdf

Posted: Tue Jul 08, 2014 7:22 pm
by lmpring
Hi all,

I really appreciate all of the options and ideas but I would find it really useful to be able to generate the report file as a .pdf in Ranorex itself. Easily creating and distributing the reports in a format all recipients can read would have saved me a lot of time (e.g. I would have loved to just post the .pdf to a shared google doc and be done rather than going through all of this)...

Perhaps it could be on the radar for a future release ? ;)...

Thanks!

Lisa

Re: Report as pdf

Posted: Tue Jul 08, 2014 7:40 pm
by krstcs
Lisa, the Ranorex team would like us to make feature request via email ([email protected]) from now on so they don't get lost in the shuffle of the forums. :D

Have you looked into custom report templates and printing to PDF? You could probably set up the template so that there was no "collapsing" of test elements (i.e. no "+" next to the test cases and iterations, but all lines are visible) and then just print the HTML report to PDF.

Re: Report as pdf

Posted: Wed Jul 09, 2014 5:31 pm
by lmpring
Hi,

I haven't tried that but I'll give it a shot and let you know.

Thx-Lisa

Re: Report as pdf

Posted: Thu Aug 21, 2014 9:07 pm
by lmpring
krstcs wrote:Have you looked into custom report templates and printing to PDF? You could probably set up the template so that there was no "collapsing" of test elements (i.e. no "+" next to the test cases and iterations, but all lines are visible) and then just print the HTML report to PDF.
Sadly it's not turning out to be something I can easily do/figure out so I'm going to have to try something else.

Thanks anyway for your suggestion!

-Lisa