Problem with validating PDF file

Ranorex Spy, Recorder, and Studio.
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
example1.JPG (64.15 KiB) Viewed 1185 times
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
Attachments
SPA 35-F34.zip
(85.34 KiB) Downloaded 79 times

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3930
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
PDFrestrict.png (21.65 KiB) Viewed 1160 times
I think you will have to ask the author of the PDF to lift these restrictions?
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
example2.JPG (64.54 KiB) Viewed 1154 times
I let you know afterwards about the result.

With kind regards
Waldemar
Attachments
SPA 35-F43-ok.zip
(133.79 KiB) Downloaded 80 times

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3930
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