Problem with module "ReportToPDFModule" - always the complete report is created

Ask general questions here.
BlindJones
Posts: 29
Joined: Fri May 17, 2019 7:10 am

Problem with module "ReportToPDFModule" - always the complete report is created

Post by BlindJones » Tue Jun 16, 2020 3:07 pm

Hello all,

I have a question regarding the automation helper:

When I place the module "ReportToPDFModule" at the end of a test suite, a PDF report is successfully created.
Not I added the variable "ReportToPDFModule.Details" to "Failed".

But unfortunately a complete test report with all successful and failed test cases is created... I only want to have report with the fails. Am I doing something wrong?

Thank you for your help!

Regards
BlindJones
Attachments
Report2PDF.png
Report2PDF.png (15.63 KiB) Viewed 74 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 12088
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Problem with module "ReportToPDFModule" - always the complete report is created

Post by Support Team » Mon Jun 22, 2020 7:35 pm

Hi,

I tested this and was not able to duplicate the behavior. The PDF report only showed the details of the failed test case when the details is set to Failed. As you can see in the below screenshots, it still shows the successful test case name, but not any of the details or child report items.

Details = Failed
1.png
1.png (36.68 KiB) Viewed 28 times
Details = All
2.png
2.png (47.34 KiB) Viewed 28 times
If you are still having issues, please provide your solution (compressed - https://www.ranorex.com/compressed-solution) and resulting report (compressed - https://www.ranorex.com/compressed-report) and I will be happy to further investigate this.

Cheers,
Ned
.
Image

BlindJones
Posts: 29
Joined: Fri May 17, 2019 7:10 am

Re: Problem with module "ReportToPDFModule" - always the complete report is created

Post by BlindJones » Wed Jun 24, 2020 9:37 am

Hello Ned,

thank you, now the functions works as exspected.
Maybe I did something wrong before.

Kind regards
BlindJones