Hello,
I am automating an application and there is a dropdown menu occurs which has dates listed under it. It has todays date at bottom but the bot should select yesterdays date like if today is 5 than it should select 4.
I tried using click activity but it is not selecting proper date as it`s not a reliable selector. which selector or activity i should use?
@Mohit_Yadav1 ,Thanks for this solution but can you post some screenshot of your code here because I am unable to load your .xaml file due to studio issues.
@lakshman yes we can type the date too. My approach will be to get the yesterdays date always so if bot can type yesterdays date in that field than that would be good too. For example today is 09/27/2021 than bot will have to enter 09/26/2021 in that field. a code or logic will be appreciated based on this