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: