Page 1 of 1

PDF report

Posted: Thu Jun 16, 2016 3:27 pm
by giuseppe.lacagnina
Dear All,

I am using the Ranorex.PDF library to get a PDF report at the end of the test.
I followed the instructions in

http://www.ranorex.com/blog/ranorex-rep ... onversion/

When I run the test case from the Studio, all is OK and I find my PDF report.
However, I need to call Ranorex from another application, which essentially is calling it
from the command line specifying the report format like:

/rf:<path_to_report>.html

in this case, the reports are there, but there is no PDF.
What am I doing wrong?

Thanks!

Re: PDF report

Posted: Fri Jun 17, 2016 8:03 am
by Support Team
Hello giuseppe.lacagnina,

May I ask for the whole command line statement?

Thank you in advance.

Sincerely,
Robert

Re: PDF report

Posted: Fri Jun 17, 2016 8:10 am
by giuseppe.lacagnina
Hi!

It is

/tc:TestCase1 /rf:F:/RANOREX_FOLDERS/REPORTS/HTML/TC23.10031/TC1P1_2016_6_17_9_6_14.html /pa:User=clerk

thanks in advance!

Giuseppe

Re: PDF report

Posted: Mon Jun 20, 2016 7:14 am
by Support Team
Hello Giuseppe,

Thank you for the information. Unfortunately, the "/tc" switch is currently not supported. The ReportToPDF converter needs an execution of the whole test suite.

Thank you for your understanding.

Sincerely,
Robert

Re: PDF report

Posted: Mon Jun 20, 2016 7:28 am
by giuseppe.lacagnina
Thanks!!!

It is a bit surprising but ok, good to know.

Cheers,

Giuseppe

Re: PDF report

Posted: Mon Jun 20, 2016 7:35 am
by Martin
You should be able to overcome this by using the run configurations instead of starting a specific test case.

http://www.ranorex.com/support/user-gui ... html#c3019

Re: PDF report

Posted: Mon Jun 20, 2016 7:37 am
by giuseppe.lacagnina
Thanks!

Sounds cool, but might force me to do a lot of rewiring. I will have a look.

Cheers,

Giuseppe