How to automate interactions with a date picker

The datepicker is either really easy or really hard to automate. Why? Datepickers are not made the same way. They are often custom coded and provide unique challenges. If you are interested in learning more, read our blog on datepickers.

# How to automate datepickers the easy way


If the datepicker is an input field and allows you to type in it, use the Step Finder to search for "Enter" and then add the "Enter text" step.

How
  1. Click "Select" to choose the text field.
  2. Input the date to enter, or click "Insert data" to pass data into the input.

# How to automate datepickers the not-so-easy way


If the datepicker is in a calendar format, use the Step Finder to search for "Date" and then add the "Date picker" step.

How
  1. Select the text of the month on the datepicker.
  2. Select either the previous or next month button, depending on whether you want to look into the future (next) or the past (previous).
  3. Type the text of the month you want to change to.
  4. Type the day of the month you'd like to switch to.

You can learn how to use this step here.

If you find a troublesome date picker, share it with us to crack. We love a good bot-building challenge. Email us at support@axiom.ai.