test automation : verify data from pdf !!!!!

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
siham
Posts: 1
Joined: Thu Dec 22, 2016 10:08 am

test automation : verify data from pdf !!!!!

Post by siham » Thu Dec 22, 2016 10:45 am

Hello,

I'm working on an application that generate a pdf document (adobe reader XI), in this document,i have the products i bought, that can contain 1 or 2 or many.

i need to verify my products and detail of each (quantity, price ....).

I can track elements, but my problem is that on my first page of document i can track the row and cell but in second page i can track only a row.

and when i have just one product, the track changes completety.

what should i do??

Thank's for help.

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

Re: test automation : verify data from pdf !!!!!

Post by odklizec » Thu Dec 22, 2016 12:39 pm

Hi,

Unfortunately, it's pretty hard to suggest something reliable without seeing the PDF file. If you can read row/cell from the first page and not from the second page, then there is apparently something different in design/formatting of the second page design? So make sure both pages are formatted the same way or ask someone who created the original content before PDF conversion if all pages of the document are formatted the same way.
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