How to share a Ranorex report via email?

Ask general questions here.
Fergal
Certified Professional
Certified Professional
Posts: 455
Joined: Tue Feb 18, 2014 2:14 pm
Location: Co Louth, Ireland
Contact:

How to share a Ranorex report via email?

Post by Fergal » Thu Mar 19, 2015 10:17 am

[Ranorex 5.2.2, on Windows 7]

This blog post states:
To share a Ranorex Report you can manually compress all files necessary for reporting and attach the corresponding package to your mail. ...require that the Ranorex Report Viewer is installed on the machine receiving the shared Report.

To overcome this requirement simply change the extension form “*.rxlog” to “*.html” in the Test Suites properties pane.
I've emailed someone a Ranorex report with a .html extension, but he can't view it in his browser. For a report called abc.rxlog or abc.html, exactly which files need to be compressed?

Thanks!

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

Re: How to share a Ranorex report via email?

Post by odklizec » Thu Mar 19, 2015 10:33 am

Hi,

Apart HTML (rxlog) file, you need to ship also these files:
corresponding *.rxlog.data (do not rename it)
corresponding images_ directory (if there is such directory)
RanorexReport5.css
RanorexReport5.png
RanorexReport5.xsl

Eventually, you can set Ranorex to create compressed rxzlog instead of plain rxlog. Rxzlog contains all necessary report files. Then you can simply rename "rxzlog" extension to "zip" and send this file ;) Recipient just have to unpack the content of zip on his machine and rename rxlog to html (or you can do it for him before sending the zip).
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

Fergal
Certified Professional
Certified Professional
Posts: 455
Joined: Tue Feb 18, 2014 2:14 pm
Location: Co Louth, Ireland
Contact:

Re: How to share a Ranorex report via email?

Post by Fergal » Fri Mar 20, 2015 11:07 am

Thanks very much odklizec, will try all of that.

krstcs
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: How to share a Ranorex report via email?

Post by krstcs » Mon Mar 23, 2015 4:13 pm

To clarify, if you rename the "*.rxlog" file to "*.html", then you DO need to rename the "*.rxlog.data to "*.html.data" or it won't be found when opening the report in the browser.
Shortcuts usually aren't...

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

Re: How to share a Ranorex report via email?

Post by odklizec » Mon Mar 23, 2015 4:31 pm

Krstcs is of course right! .rxlog.data must be renamed to .html.data. Silly me, I could have describe it better ;)
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