This is the selector where ‘day’ is a string variable. It works when I give a static value for ‘aaname’. But fails to identify the element when I give the variable.
Yes. Just tried replacing it with wild cards. Still the same. The spaces before the variable is according to the syntax. If I remove those, it gives a validation error. The input variable is being passed correctly. But somewhere I am missing out on something.
I see space after wildcard(*) in the title, may be that could be the reason. Try removing the space.
Just an fyi…incase if you are selecting month beginning/end dates, there is a possibility of previous/next month dates visible in the same month calendar, in that case just aaname in the selector will fail as Uipath will create idx values (idx=2 if you have previous month date visible or idx=1 if you have next month date visible).
In below example, 25-28 dates have repeated twice, so just aaname won’t work.