Selection/input of date values - web automations

Hello there,

I am trying to automate the download of a certain report from a public, government-owned website - which is not that user/bot friendly - and I am facing an issue regarding the selection/input of 2 dates: one date which is the start date for the report and one end date.

The date field itself is not editable, it is grayed out
image

But if I click on the calendar icon I can:
a. manually select a date or
b. type into the date field the desired date
image

Could you help me to find a solution for typing the date into the date field? Everything I’ve tried failed. Here is the website, you could try it yourself: https://mj.rnpm.ro/#cautare/AS

Thank you!

Hi @AlexGabriel97 ,

Though you mentioned about the site but it is not that much stubborn site. it is allowing us to enter the date while clicking the calendar icon. i have tried with simple snippet below it is working fine. please try at your end let me know.

image

Regards,
Kirankumar.

Hi @AlexGabriel97

Please use like described in xaml

DateType.xaml (15.9 KB)

Note: I did it using Edge , if you are using chrome change the app=‘chrome.exe’ in selectors and it should work

cheers

Thanks so much, it worked :smiley:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.