Ranorex PDF Check

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Posts: 6
Joined: Mon Jan 22, 2018 2:49 pm

Ranorex PDF Check

Post by DavidH » Fri Feb 23, 2018 10:07 am


I'm trying to verify a pdf file, but it's not working as I expect.

When I track a part of the text on the first page I get a repository item:


Code: Select all

When scrolling down to a different part of the pdf, let's say page 4, and I highlight the above text element, it recognizes a part of the text on page 4.
The same thing occurs when I just scroll down on the first page, but still be on the first page. When highlighting, it recognizes a different text.
How can I make sure that each element is specific and not "what is into view".

I've updated the xpath expression to have part of the text

Code: Select all

but If the element is not in view, then the item is not found.

How should I properly test the layout and data of a pdf? :|

Description properties of the pdf:
Security properties of the pdf:
You do not have the required permissions to view the files attached to this post.

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

Re: Ranorex PDF Check

Post by odklizec » Mon Feb 26, 2018 8:56 am


Please upload the problematic PDF file or at very least, a Ranorex snapshot (not screenshot!) of the element in question. There is nothing anyone here can do or suggest without seeing either of these two things. Thanks.

Generally speaking, PDF files are not so easy to automate ;)
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