Converting existing reports to PDF
This article describes how to use the ReportToPDF tool in order to convert existing Ranorex Report files to PDF. This will allow you to share reports with people who don’t have Ranorex installed.
If you want Ranorex to convert reports to PDF as they are being generated during test execution, use the ReportToPDFModule contained in the Ranorex Automation Helpers.
In this chapter
Conversion of an Existing Report
The ReportToPDF executable is a command line tool, which allows you to convert existing Ranorex reports to PDF. The report must be passed to the converter in its compressed form, the so-called “rxzlog”. The “rxzlog” is a single archive (“.rxzlog” extension) including the report and all associated files.
Using the following call, you can execute the ReportToPDF tool from the command line:
ReportToPDF.exe <input file> <output file> /<argument>
The input and output file need to be set, whereas the arguments are optional.
Sets the file (*.rxzlog) which is converted.
Sets the name of the PDF file.
style: Sets a custom stylesheet
detail:Specifies how much information is shown within the generated PDF:
- none: no module actions are shown
- failed: only actions from failed modules are shown
- all: all actions are shown (default value)