PDF report

Ask general questions here.
User avatar
giuseppe.lacagnina
Posts: 113
Joined: Fri Sep 18, 2015 10:25 am
Location: Brunn am Gebirge, Vienna, Austria

PDF report

Post by giuseppe.lacagnina » Thu Jun 16, 2016 3:27 pm

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!

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

Re: PDF report

Post by Support Team » Fri Jun 17, 2016 8:03 am

Hello giuseppe.lacagnina,

May I ask for the whole command line statement?

Thank you in advance.

Sincerely,
Robert

User avatar
giuseppe.lacagnina
Posts: 113
Joined: Fri Sep 18, 2015 10:25 am
Location: Brunn am Gebirge, Vienna, Austria

Re: PDF report

Post by giuseppe.lacagnina » Fri Jun 17, 2016 8:10 am

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

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

Re: PDF report

Post by Support Team » Mon Jun 20, 2016 7:14 am

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

User avatar
giuseppe.lacagnina
Posts: 113
Joined: Fri Sep 18, 2015 10:25 am
Location: Brunn am Gebirge, Vienna, Austria

Re: PDF report

Post by giuseppe.lacagnina » Mon Jun 20, 2016 7:28 am

Thanks!!!

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

Cheers,

Giuseppe

Martin
Posts: 152
Joined: Fri Aug 15, 2014 12:24 pm

Re: PDF report

Post by Martin » Mon Jun 20, 2016 7:35 am

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

User avatar
giuseppe.lacagnina
Posts: 113
Joined: Fri Sep 18, 2015 10:25 am
Location: Brunn am Gebirge, Vienna, Austria

Re: PDF report

Post by giuseppe.lacagnina » Mon Jun 20, 2016 7:37 am

Thanks!

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

Cheers,

Giuseppe