disable table of content with ReportToPDFModule

Ranorex Studio, Spy, Recorder, and Driver.
DanielShefer
Posts: 2
Joined: Tue Sep 19, 2017 7:57 am

disable table of content with ReportToPDFModule

Post by DanielShefer » Tue Oct 03, 2017 8:35 am

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 ?

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

Re: disable table of content with ReportToPDFModule

Post by Support Team » Wed Oct 04, 2017 1:15 pm

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
You do not have the required permissions to view the files attached to this post.

DanielShefer
Posts: 2
Joined: Tue Sep 19, 2017 7:57 am

Re: disable table of content with ReportToPDFModule

Post by DanielShefer » Sun Oct 08, 2017 6:44 am

it works well after the update, thank you.