While trying to read a table in a browser based application into a collection an error message appears and the table cannot be read directly into the collection. This happens when using either AA or HTML mode.
Which of the following would be the most appropriate workaround?
A . Spy one cell in the table using HTML mode and make the Path attribute dynamic. Use this dynamic element to read the required cells one be one into a collection.
B . Use Surface Automation techniques such as OCR to read the table
C . Set the HKEY CURRENT USERSoftwareMicrosoftInternet ExplorerMainTabProcGrowth Registry key to 2
D . Use the Read HTML action in conjunction with regular expressions to read the table.
Answer: B
Explanation:
For this you have to use surface automation techniques. Use Region mode and draw a region which is of width and height of one record and read using Read Text with OCR (Loop this activity by increasing X and Y co-ordinates by the required pixels to read line-by-line until it reaches end of the table).
Reference: https://www.rpaforum.net/threads/reading-text-inside-image.1571/
Leave a Reply