Report as pdf

Class library usage, coding and language questions.
User avatar
Support Team
Site Admin
Site Admin
Posts: 12169
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: Report as pdf

Post by Support Team » Fri Jul 17, 2015 10:23 am

Hello all,

Please check out our new blog post on how to convert Ranorex reports to PDF: Convert your Ranorex Report to PDF


Posts: 9
Joined: Fri Oct 30, 2015 7:43 pm

Re: Report as pdf

Post by svelaga » Wed Nov 18, 2015 10:16 pm

Iam trying to generate the reports in .pdf format
1) I have referenced the Ranorex.PDF dll to the project references

2) I have added the ReportToPDF.cs file into the project

Now can anyone tell me where to update the code so as I can convert my .rxlog files to .pdf format
(without adding them to any teardown section in the test suite)

Please advice me in detail for using the report format to .pdf

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

Re: Report as pdf

Post by odklizec » Thu Nov 19, 2015 9:10 am


I'm not sure why you don't want to use TearDown section, which is a perfect place for such conversion. Anyway, it should be possible to convert the report in program.cs using this method (found in comments section of report2pdf tutorial):

Code: Select all

public static void Ranorex.PDF.Creator.CreatePDF(string input, string output, string xml, string details
I would suggest to call this method as a very last action in program.cs.
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