Get Text / Find Text: Problem defining suitable selector in a table on a results page

Dear all, I am trying to extract the financial year end date from individual results pages similar to this one:

If I use a Get Text control and ‘Indicate on screen’ the date underneath “Period Ended” headline, UiPath manages to extract the correct date in about 9 cases out of 10, but gets confused when there are more or less rows in the table that is the results page.

I have also tried using Find Text Position, defining the clipping region as the area about 30 by 500 pixels below the area where “Period Ended” is found, but Find Text Position generates a runtime error ‘method or operation is not implemented’.

How can I capture the date in this table reliably?

Thank you very much in advance for any help!

Does the Index in the selector change when there are more or less rows?

Hi Tim, thanks for the quick response. Apparently it does, yes. The corresponding field in my results Excel file then fills with information further up or down in the table. The script is working quite well overall, but I need to figure out a way to use these other, more precise and reliable ways of locating and reading out the data that I need.

I have attached a sample workflow which uses scrape relative using ‘Period Ended’ as your anchor, this uses OCR but should be relatively secure as long as it appears on screen.

Scrape Relative.xaml (12.9 KB)

The other suggestion would be to play around with your index selector to make it more dynamic.

Thank you so much! I will most likely only be able to check this out tomorrow and will send you a proper update then. Very much appreciate your support!