I am looking for resources to write the activities to enter a date and then select that date from the drop down for month and year. Then to pick the date from the picture of the calendar. I am not able to type into the calendar.
The calendar is here:
Historical Rates Tables - USD | Xe
Hey you can you this approach but this is in classic activities
Select the browsertype as chrome if you want
Click the date you want
expand the
Target and open the Selector then click on Ui Explorer and use this selector and then validate
Cheers
Hello @aduffey,
Try this approach it is a dynamic way to select the current date.
BlankProcess.zip (3.8 KB)
thank you.
I wasn’t able to open it in StudioX
Hello! Dealing with that kind of calendar that doesn’t accept typing is super common in automation.
Perhaps that is the problem: you are trying to use the Type Into activity, but the control only accepts dynamic clicks on the day, and it is not a text field.
The solution is to separate the selection of the static boxes (Month/Year) from the dynamic click on the day.
- Select Month/Year: Use the
Select Itemactivity for the Month and Year dropdowns. You will need expressions likeInputDate.ToString("MMMM")andInputDate.ToString("yyyy")to pass the correct text. - Select the Day: Use the
Clickactivity on the calendar. The selector must be dynamic. Substitute the static day number (e.g.,aaname='15') with the variable that holds the day of your input date:aaname='{{InputDate.Day.ToString}}'.
Perhaps this combination of Select Item and a dynamic Click selector can work to select the date correctly!
Thank you. I really appreciate your help.
I think I am close..I have close to what you suggested.
I am trying to read a date from an excel file and use that date to pick from the calendar on the website and then move a data item back to the excel sheet.
I think my main issue to solve is to figure out to format dates as variables so I can use them to pick the dates in the calendar.
Can anyone direct me to how to separate out a date into variables so that I can use those variables to select drop down calendar options and a calendar day from a grid?
Hi, @aduffey
Read the date from Excel into a variable like fulldate.
Then use these to get the year, month, and day:
year = fulldate.Year
monthname = fulldate.ToString(“MMMM”)
day = fulldate.Day
Use these variables to select the right dropdowns (month, year) and click the calendar day on the website.
Thank you! I will try that today!












