Page 1 of 1

No formatting in descriptions in PDF Report

Posted: Wed Oct 02, 2019 9:35 am
by stef
Hi,

I am using Ranorex 8.3.2. I am creating a PDF Report with

Code: Select all

Ranorex.PDF.Creator.CreatePDF(input, PDFReportFilePath, xml, details);
I have description texts for my testcaseses in my testsuite with formatting (for example newlines) in it.
In the Ranorex Reports the descriptions appear formatted.
In the created PDF the formatting is gone, even the newlines.

Is there a way to get the formatting in the PDF?

Thanks for the help!

Re: No formatting in descriptions in PDF Report

Posted: Fri Oct 04, 2019 2:20 pm
by Support Team
Hello stef,

Unfortunately, the pdf report doesn't take the formatting, but it takes the newlines at least in the newest version of Ranorex in connection with the newest version of the automation helpers. The ReportToPDF tool is currently no built-in feature of Ranorex, but a module that comes with the automation helpers. The code that converts the normal report into a pdf file is written in the ReportToPDFModule.cs file. In case you are a developer, you can change the code so that it fits your needs. Otherwise please add a request to our online user voice.

Regards,
Bernhard

Re: No formatting in descriptions in PDF Report

Posted: Mon Oct 07, 2019 12:23 pm
by stef
Ok, thanks for the answer.