Ranorex Customized Report

Ask general questions here.
User avatar
subodh4u7
Posts: 68
Joined: Tue Jan 06, 2015 8:26 am

Ranorex Customized Report

Post by subodh4u7 » Thu Oct 27, 2016 12:13 pm

Hi all,

I am creating custom report out of the ranorex default report. After completing the execution of test suite / test case, the custom report is stored into Reports folder.

I want to convert the same customized report to pdf. How can i do that i.e. once my execution is completed i should get the pdf format of my custom report. Can any please guide me.
Regards,
Subodh

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3921
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Ranorex Customized Report

Post by odklizec » Thu Oct 27, 2016 1:01 pm

Hi,

Have you examined this blog post, about converting Ranorex report to PDF?...
http://www.ranorex.com/blog/ranorex-rep ... onversion/
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

User avatar
subodh4u7
Posts: 68
Joined: Tue Jan 06, 2015 8:26 am

Re: Ranorex Customized Report

Post by subodh4u7 » Fri Oct 28, 2016 5:10 am

Hi,
Thanks for your response. Yes, I had looked into and created the PDF report using the same Report2Pdf.

However, My custom report and PDF report format are not the same.

Please find the attachment which would help in guiding me.
Attachments
PDF Report.jpg
PDF Report
PDF Report.jpg (135.27 KiB) Viewed 620 times
Custome_Report.jpg
Custom Report
Custome_Report.jpg (48.44 KiB) Viewed 620 times
Regards,
Subodh

asdf
Posts: 174
Joined: Mon Mar 21, 2016 3:16 pm

Re: Ranorex Customized Report

Post by asdf » Mon Oct 31, 2016 1:10 pm

Hi Subodh,

In order to change the look of your PDF report, you have to change the stylesheet like described in the blog post.
That means you have to download the style.xml provided in the post and change this according to your wishes.

Hope this helps.

Best regards,
asdf

User avatar
subodh4u7
Posts: 68
Joined: Tue Jan 06, 2015 8:26 am

Re: Ranorex Customized Report

Post by subodh4u7 » Mon Mar 27, 2017 7:43 am

Hi Experts,

How to match the pdf report with the ranorex customised report as attached in previous post.
Frankly, I do not have much idea of xml and xsl.

Can anyone give some idea about the same so that I can proceed further.
Attachments
Test.zip
Xsl and xml
(4.25 KiB) Downloaded 37 times
Regards,
Subodh

asdf
Posts: 174
Joined: Mon Mar 21, 2016 3:16 pm

Re: Ranorex Customized Report

Post by asdf » Thu Mar 30, 2017 1:58 pm

Hi subodh,

Unfortunately, it is not possible to convert your customized reports to PDF. As a workaround, I would recommend renaming your *.rxlog file to *.html and the *.rxlog.data to *html.data. Then you are able to open the reports in your browser without Ranorex installed.

Hope this helps.