Problem with validating PDF file

Ranorex Studio, Spy, Recorder, and Driver.
wzc
Posts: 2
Joined: Thu Feb 12, 2015 5:01 pm

Problem with validating PDF file

Post by wzc » Fri Feb 13, 2015 4:30 pm

Dear Ranorex Support

I'm trying to access and validate some data on the PDF file, but unfortunately without any success.
It looks like Ranorex sees the content of the PDF file as an image.
example1.JPG
I use Ranorex-5.2.2.21596.

I attached also ZIPped example of the PDF file.

I would greatly appreciate any suggestion how to approach this issue.

With kind regards
Waldemar
You do not have the required permissions to view the files attached to this post.

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

Re: Problem with validating PDF file

Post by odklizec » Mon Feb 16, 2015 8:17 am

Hi,

I guess the problem is in document restrictions set to this PDF.
PDFrestrict.png
I think you will have to ask the author of the PDF to lift these restrictions?
You do not have the required permissions to view the files attached to this post.
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

wzc
Posts: 2
Joined: Thu Feb 12, 2015 5:01 pm

Re: Problem with validating PDF file

Post by wzc » Mon Feb 16, 2015 10:42 am

Dear Pavel,

Thank you very much for your answer and for the suggestion to change document security settings.

I asked already development team to implement this change, but I'm afraid this may not help.
I generated a similar PDF document but from another program, where different HTML2PDF convert was used.
The security settings are exactly the same ... but in this case Ranorex Spy works perfect. I attached an example.
example2.JPG
I let you know afterwards about the result.

With kind regards
Waldemar
You do not have the required permissions to view the files attached to this post.

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

Re: Problem with validating PDF file

Post by odklizec » Mon Feb 16, 2015 11:06 am

Hi,

In this case, there is probably something wrong with the PDF exported from that other tool? Another thing you can try is to play a bit with the Accessibility settings in Adobe Reader (menu Edit >> Accessibility). But this may not help either. Good luck!
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