Report to PDF: Out of memory

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

Report to PDF: Out of memory

Post by BlindJones » Thu Oct 08, 2020 4:18 pm

Hi all,

we are creating PDF reports of the end of a test run with Ranorex and we have one solution with 130 test cases.

I could see that no PDF was created the last two times and had a look on the logs (we run it by using DevOps Pipeline).
There was the message : "ReportToPDF: Out of Memory"

Can someone tell me how to fix that?

https://ibb.co/r5bT50h

Kind regards
Sebastian

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6360
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Report to PDF: Out of memory

Post by odklizec » Thu Oct 08, 2020 5:55 pm

Hi,

I’m afraid, the only solution to this problem is to run your tests in smaller chunks. The result report is apparently too large to be processed to pdf format. Eventually, try to split the rxlog with this tool and then process individual files with report to pdf tool...
a-tool-for-splitting-ranorex-reports-t15768.html
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

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

Re: Report to PDF: Out of memory

Post by BlindJones » Fri Oct 09, 2020 9:29 am

Hi Pavel,

thank you for the advice.

Sadly especiallly for this project our management wants a complete PDF report all in one, so if I split up this project to different test suites we will have more than one PDF. And I am trying to avoid having to merge them manually everytime... :roll:

Is there another elegant way to achieve that?

Kind regards
Sebastian

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6360
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Report to PDF: Out of memory

Post by odklizec » Fri Oct 09, 2020 10:04 am

Hi Sebastian,

I seriously doubt that there is another way to achieve what you want. The size of report is apparently too big for PDF conversion. Out of sheer curiosity, how large is the rxlog file you trying to convert?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

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

Re: Report to PDF: Out of memory

Post by BlindJones » Fri Oct 09, 2020 10:40 am

Hi Pavel,

what a pity. :(

The rxlog - file is 587 kb, the rxlog.data - file is 7.86 mb.

Kind regards
Sebastian

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6360
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Report to PDF: Out of memory

Post by odklizec » Fri Oct 09, 2020 11:29 am

Hm, it does not sound like too big report? Have you tried to convert the report from command line (not directly from test) and on another computer?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

doke
Posts: 5
Joined: Fri Mar 29, 2019 2:33 pm

Re: Report to PDF: Out of memory

Post by doke » Fri Oct 09, 2020 2:28 pm

Looks like ranorex's convertopdf has some difficutly with some parts of your output

You could try ti output as html and afterwards convert to pdf with another converter (like a print to pdf solution)