How to Share Ranorex Reports

Best practices, code snippets for common functionality, examples, and guidelines.
Zhilll
Posts: 13
Joined: Thu Oct 06, 2011 2:48 pm

How to Share Ranorex Reports

Post by Zhilll » Fri May 31, 2013 3:21 pm

Hello,

We are not currently using the Ranorex Test Suite but instead have our tests in classes. I would like to share the Report that is generated after running the tests with other users, but simply sharing the generated file (*.rxlog) doens't work. There are instructions on how to do this through the Test Suite, but how can this be done outside of the Test Suite? I tried renaming the file with an .html extension, but this doens't work. Any ideas?

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

Re: How to Share Ranorex Reports

Post by odklizec » Mon Jun 03, 2013 8:46 am

I think these steps should help you:
http://www.ranorex.com/blog/share-your- ... ny-browser

To simplify sending reports via email, it's good to use rxzlog (compressed rxlog), which contains all necessary files in one zipped log file. So one don't need to care about dependencies. I personally prefer this way.

The downside of this solution is the need of using Ranorex Report viewer, which must be installed on the target machine. But it's very easy to extract the Ranorex Report viewer from an existing Ranorex Studio installation and move them somewhere on a local machine. And I believe it's nothing against the Ranorex copyright? ;)

All you need to do is to find these files (typically located in c:\Program Files (x86)\Ranorex 4.0\Bin):
Ranorex.Controls.dll
Ranorex.Core.dll
Ranorex.Libs.dll
Ranorex.ReportViewer.exe

Now place these files somewhere on a local network, where anyone in company can easily access them. Then simply instruct people where they can find the viewer and how to associate the rxzlog files with the viewer (to be able to open the logs by double clicking the rxzlog file attached to email). If you want to make it easier for your colleagues, create a custom Report Viewer installation (e.g. using Inno Setup), which will install the Report Viewer and associate it with rxzlog files.

Hope it helps?
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

AutomationTester
Posts: 30
Joined: Mon Jan 21, 2013 1:31 pm

Re: How to Share Ranorex Reports

Post by AutomationTester » Thu Jul 18, 2013 10:00 am

Hai odklizec,

I made a mistake before, When used your methods to view the reports in non-Ranorex machine. I missed the Ranorex.Libs.dll file. Now It's working and you are a Genius :wink:

Thanks
Amiruddin

Can
Posts: 45
Joined: Thu Oct 03, 2013 9:47 am
Location: Istanbul/Turkey

Re: How to Share Ranorex Reports

Post by Can » Thu Dec 19, 2013 9:41 am

Hello

I prefer share via mail.
I could not find ShareReportTestProperties ?
Where is it ?

Thanks.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11710
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: How to Share Ranorex Reports

Post by Support Team » Mon Apr 14, 2014 2:41 pm

Hello Can,

ShareReportTest is the name of the Ranorex test suite. The test suite property pane can be opened as shown below:
TestSuiteProperties.png
TestSuiteProperties.png (10.62 KiB) Viewed 2924 times
Regards,
Robert
.
Image