Have to click the day -1 date. if i pass the variable in click it will click the previous month date [present in the top of the calendar].
Try this passing it in an variable
DateTime.Now.AddDays(-1)
Pass this variable in click by changing it from fuzzy to strict selector changing the selectors. Then open the strict selectors in the properties then open Ui explorer pass this variable and check the override value. Then Validate.
Try giving an example with date to make the solution clear.
Hope it helps!!
Regards
Try to change the selectors (repair) in Ui Explorer.
For an idea check this below…open the ui explorer and indicate the 1 of current month and the next month and find differences in the selector and use that to identify the required number…that way it would click on same…to find difference use the center top,right top and left bottom windows in ui explorer
Cheers
Use the Strict selectors for this. When you are indicating uncheck the fuzzy selector and image. Check the Strict selectors.
If you want the yesterday date you can store the variable like DateTime.Now.AddDays(-1)
Then open the strict selectors in the properties then open Ui explorer pass this variable and check the override value. Then Validate.
Hope it helps!!
Hello @Santhiya_0412 , It is Because it can find the same selector on the top also. In such a case, we need to provide some strong selectors. Try to check the class in it. It may Vary. Otherwise, Try by selecting both 27 and look for the difference in the selector. That differs you have to map into the selector. If possible kindly share the Website, It may help us to provide you with a better solution.
@Santhiya_0412
If you find solution for your query, please mark it as solution to close the thread.
Regards,
I hope you got the solution for your query. Make mark it as solution which can help to other forum members.
Happy Automation!!