Get Text with the same format


I have a question in regards to getting text with the same format. As you can see from the picture below, the first transaction date and the last transaction date is the same format “yyyy-mm-dd”. I only want to get text for the last transaction date.

I tried using get text, and edit its selector from this:

<webctrl aaname='2012-05-06' tag='SPAN' />


<webctrl aaname='*-*-*' tag='SPAN' />

Whenever I run the robot, it only gives me the first transaction date, is it possible to get the last transaction date instead? Thanks.

Screen Shot 2021-05-13 at 12.05.11 AM

Did you open Ui Explorer to check the selector like idx or row number?

Try using the Anchor on Last transaction date and keep the rest of selectors same