How to compare the data function on UI and PDF?

I am on the website. I have a button which says “Click Here” to download PDF. Once user clicks on the “Click Here”, it downloads the PDF. Then I want to open the PDF and compare the PDF data and data displays on the USer Interface where the PDF was downloaded from.

Can you help me? I am very new to automation and does not have a technical knowledge. For now I was just using record function to build scripts.

Thank you in advance.

That’s a long process.

  1. select click activity for the button “click here”
  2. if the data is tabular then use the data scrapping wizard to get both the tables.

It did not work. Here is the attachment of what I need to compare. I am clicking on View Summary button and comparing both screenshots manually. Is there any other way to verify all the fields at once?!
Screen Shot 2021-01-25 at 10.54.22 AM|690x496 !
Screen Shot 2021-01-25 at 10.54.43 AM|514x500

@Bhavin_Patel ,

Do you want to compare data from the web page with PDF?

Yes Kanthesh.

@Bhavin_Patel ,

Can you use get text activity to get specific text from website and later we can get the data from PDF and compare

Get text worked on website. But how do I get data from downloaded PDF? @kantheshm

@Bhavin_Patel In order to indicate elements in PDF files, you need to have the correct accesibility settings done in Acrobat. Here is a guide: Identifying UI Elements in PDF With Accessibility Options