Page 1 of 1

disable table of content with ReportToPDFModule

Posted: Tue Oct 03, 2017 8:35 am
by DanielShefer
hello,
i am using Ranorex 7.2 with the new Ranorex Automation Helpers feature.
i downloaded the style.xml from here: ranorex.com/blog/ranorex-report-to-pdf-conversion/
for the Ranorex 7.0 and higher, when i try to put "false" value in the toc field, like this:

Code: Select all

<global toc="false" logo="logo_final.png" bottommargin="2" topmargin="2" showtestdata="true" showdescription="true" showpictures="true"/>
im getting this message:

Code: Select all

Ranorex ReportToPDF Ver. 1.0.9

Generating PDF report with following specifications:

        Input file:      Test_20171003_102823.rxzlog
        Output file:     Test_20171003_102823.pdf
        Style:           style.xml
        Details:         all


ReportToPDF: Object reference not set to an instance of an object.
Press any key to continue...
if i dont change the value everything works fine, what am i missing ?

Re: disable table of content with ReportToPDFModule

Posted: Wed Oct 04, 2017 1:15 pm
by Support Team
Hello Daniel,

Thank you for reporting that behavior. It was actually a bug within the ReportToPDF tool. We've already fixed the bug and a new NuGet package is available. Simply update the Ranorex Automation Helpers -> ReportToPDF:
ManagePackages.png
Updates.png
There you'll find the new version Report.PDF v 1.0.10

Thank you for your cooperation.

Sincerely
Robert

Re: disable table of content with ReportToPDFModule

Posted: Sun Oct 08, 2017 6:44 am
by DanielShefer
it works well after the update, thank you.