If we have a Table in PDF file?

This is interview question I faced:
If we have a Table in PDF file how can we get that table data and when file changing randomly?

Thanks.

Hi Krishna,

If the table is properly structured and it contains text data not image ( you can check it using UiExplorer, Check if you are able to identify individual cell, row, and table), use data scraping and select a single cell inside the table. It will scrap entire table and return you a DataTable.

If the table is not structured and comes as an image, OCR based activities and Screen Scraping is the way along with string manipulation.

Regards,
Tuhin

1 Like

Thanks for the reply
How can we Read if The Table page position changes Randomly.

Thanks in Advanceā€¦

Use element exists and send hot keys pgdn inside a loop till you get table page.

Thanks Brotherā€¦