Can anyone help me with the logic on how to find the latest link on a webpage

Thank u for your time :). I will try

Can some one help me to write the selector for this. I want to include in aaname attribute

“Summary Support (All Currencies) - Bot 2022-03-21 07_12 PDT.xlsx”

I want to make this part a generalised one : 2022-03-21 07_12

Ultimately i need to include this in click activity

Hi @shilpa_p,

You can use the wildcards.

aaname=“Summary Support (All Currencies) - Bot 202*PDT.xlsx”

Thanks!

Hi,

The following will return yyyy-MM-dd HH_mm style datetime. Can you try this?

strDate = System.Text.RegularExpressions.Regex.Match(targetName,"\d{4}-\d{2}-\d{2} \d{2}_\d{2}").Value

Then, as the following, for example

img20220405-2

Regards,

Thank you :). I will try