Ranorex PDF Check
Posted: Fri Feb 23, 2018 10:07 am
Hi,
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:
text:
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
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:
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:
text:
Code: Select all
element[@instance='3']/element[@instance='0']/element[@class='AVL_AVView']/element[@class='AVL_AVView']/element[@class='AVL_AVView']/element[@instance='0']/container[@accessiblename='']/container[@accessiblename='']/text[5]
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
element[@instance='3']/element[@instance='0']/element[@class='AVL_AVView']/element[@class='AVL_AVView']/element[@class='AVL_AVView']/element[@instance='0']/container[@accessiblename='']/container[@accessiblename='']/text[@text~'Verzekerin']
How should I properly test the layout and data of a pdf?
Description properties of the pdf: Security properties of the pdf: