Hi guys, I am trying to use the classic click activity on a website, and every file in the selection has a date associated to it. The file I want to click has the current date on it, and ignore the detailed time at which it was updated.
Here are the selectors:
I have tried to set aaname to ‘MRB_DateToday.xlxs *’, where DateToday is a variable for today, and I cannot validate the selector.
May I know how should i input this? Thanks!
Hi @Hou_Paang_Soul - The format of aaname in the selector should be
"MRB_DateToday.xlsx.*"
You have already created a variable called DateToday pass the default value to this variable as the current date in the variables panel. Also, you must define this variable in your sequence as DateTime.Now.ToString("ddMMMyyyy"). This way while executing the sequence the current date assigns to the variable and the same one will pass into the selector
Ex: 27Jul2023
Now go back to your selector and validate it. It should highlight the respective element in your application if the selector matches
is that mean the validate option is not available or is the selector is not getting validated