Page 1 of 1

Use of ReportToPDFModule supplied in Ranorex 7.2

Posted: Mon Oct 30, 2017 12:10 pm
by Jean-Louis GOUEZ
Hi Fox,
The new Ranorex 7.2 comes with an automation helper called ReportToPDFModule.
Unfortunately, I didn't see any example about the way to use it.
I only see a tutorial video explaining that I need to create a TEARDOWN section on a test suite and then drop the source code to this section.
In such a case, I don't see how to define variables such "PdfName" or "Details".
Another question is about the "Xml" variable contained in this module. What's the use ?

Finally, I really appreciate an example (or at least explanations) on how to use this module in a programatic way.
The way I use Ranorex is sometime sligthly different than the regular way (I sometime use an external file to get environment parameters) and I would like to manage the generation of the PDF according to 1 parameter so I would like to use an "user code" to ask for the conversion.

Thank you for your help.

Re: Use of ReportToPDFModule supplied in Ranorex 7.2

Posted: Mon Oct 30, 2017 1:34 pm
by odklizec
Hi,

A detailed description of ReportToPDFModule can be found here:
https://www.ranorex.com/blog/ranorex-re ... conversion

And this guide should help you with adding ReportToPDFModule to your project:
https://www.ranorex.com/help/latest/ran ... on-helpers

Hope this helps?