Can't automate this date icon in portal

Hi,


Please help with selecting the particular date in this icon, which comes from RDD. I need help on this

@Salman_Faries Hi, seems this is a custom date picker. Instead of automating only the calendar icon, try indicating the complete date input field and use Click first.

If possible, share one screenshot after clicking the calendar icon. That will help to check the date picker structure.

@Salman_Faries

Can you clarify, are you able to do the Web automation using web activities?

If you have access to do the web automation, then try to change the selectors and reindicate the that entire date picker.

Go through once in this thread

Happy Automation

@Salman_Faries Since the date is coming dynamically from RDD, I wouldn’t recommend hardcoding the date selector. First convert the RDD date into a DateTime and get the day, month and year separately.

Steps:

  1. Read the date from RDD Suppose the value coming from RDD is: 15/09/2026

  2. Convert it to DateTime Use an Assign activity: requiredDate = DateTime.ParseExact(rddDate,“dd/MM/yyyy”,System.Globalization.CultureInfo.InvariantCulture)

  3. Get day, month and year
    Create 3 variables:

    requiredDay = requiredDate.Day.ToString

    requiredMonth = requiredDate.ToString("MMMM")

    requiredYear = requiredDate.Year.ToString

  4. Click the date field/calendar icon
    This will open the calendar popup.

  5. Read the currently displayed month/year
    Use Get Text on the header, for example:

    September 2026

  6. Compare current calendar month with required date
    Convert the header also into DateTime:

    currentMonth = DateTime.ParseExact(calendarHeader,"MMMM yyyy",System.Globalization.CultureInfo.InvariantCulture)

  7. Navigate month by month
    If:

    requiredDate > currentMonth

    click the right arrow.

  8. If:

    requiredDate < currentMonth

    click the left arrow.

    Put this inside a loop until:

    currentMonth.Month = requiredDate.Month AndAlso currentMonth.Year = requiredDate.Year

  9. Select the day dynamically
    Indicate one date, for example 15, using Click and check its selector in UI Explorer.

    You may get something similar to: replace 15 with

  10. Finally validate the selected value
    Use Get Text/Get Attribute on the date textbox and compare it with your RDD date.

Please follow this steps and if you faced any issue let us know

Hi @Salman_Faries,

First, check which attribute contains the full date value. Then try using the Set Attribute activity to update the date directly.

Thanks!

Try Set Text with AlterIfDisabled set to true