Read content of a pdf file.

Best practices, code snippets for common functionality, examples, and guidelines.
danuk
Posts: 2
Joined: Tue Jul 23, 2019 6:03 am

Read content of a pdf file.

Post by danuk » Tue Jul 23, 2019 6:32 am

I need to read contents of a pdf file created by Adobe reader. I have read the other threads on this blog on the same topic, following that i made sure the access related properties of the files are in line with the solution provided but still i wasnt able to get any text from the file

Ranorex takes the entire page as a object from which im not able to extract any data.

Details:
Ranorex version: 8.1
OS version: Windows 7

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

Re: Read content of a pdf file.

Post by Support Team » Tue Jul 23, 2019 9:01 pm

Hi danuk,

Reading PDFs is generally specific to the PDF reader itself and what accessibility they have built in. Personally, I have seen the most success with Firefox's built in PDF reader and Adobe Reader DC. If you are able to provide the PDF file, I will be happy to test this in my local controlled environments.

Regards,
Ned