RanorexPDFLibrary

Ask general questions here.
cmamian
Posts: 1
Joined: Thu Jun 22, 2017 5:14 pm

RanorexPDFLibrary

Post by cmamian » Tue May 15, 2018 8:44 pm

ReportToPDF: Could not load file or assembly 'Ranorex.PDF, Version=1.0.7.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Press any key to continue...


Good afternoon, can someone help me solve this problem?

1. I have installed the version of Ranorex Studio 8.0.
2. Add the library to generate PDF reports.
3. I run an automated case to verify that everything is fine.
4. I clean the project and upload it to the TFS with Visual Studio 2015.
5. When I download the solution and execute it, at the end of the execution a message comes out, the library has not been found. and asks you to press a key to continue.
6. I want to know if it is possible to integrate the library to the project in the same way that the excel or csv file is added, to avoid configuring the path of the PDF report library every time I download the solution.

Thank you very much!...

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

Re: RanorexPDFLibrary

Post by Support Team » Thu May 17, 2018 9:55 pm

Hello,

It would appear that you may be using an older implementation of our Ranorex ReportToPDF module. From Ranorex 7.2 and higher, you can directly access the ReportToPDF functionality using the Ranorex Automation Helpers. For detailed instructions, please refer to the user guide section “Ranorex Automation Helpers“. When not using the Ranorex Automation Helpers you can, of course, add the RanorexToPDF NuGet package directly from the package manager too.

Ranorex Automation Helpers User Guide:

https://www.ranorex.com/help/latest/ran ... on-helpers

Please let me know if this did not resolve the issue!

Regards,
Jon
.
Image