No formatting in descriptions in PDF Report

Ask general questions here.
stef
Posts: 2
Joined: Wed Oct 02, 2019 9:12 am

No formatting in descriptions in PDF Report

Post by stef » Wed Oct 02, 2019 9:35 am

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!

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: No formatting in descriptions in PDF Report

Post by Support Team » Fri Oct 04, 2019 2:20 pm

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

stef
Posts: 2
Joined: Wed Oct 02, 2019 9:12 am

Re: No formatting in descriptions in PDF Report

Post by stef » Mon Oct 07, 2019 12:23 pm

Ok, thanks for the answer.