I am trying to create a flow that runs 15 minutes each day. It involves logging in to a webpage, selecting the current date, searching for orders, based on parameters, and capturing the number of results each time.
I am having trouble using the 'Send Keys' option to the date picker.
I capture the current date as a variable then use that with the 'Send Keys' command to put the date in to the date picker element and then click 'Search' to get the current date.
However, it doesn't seem to work because after the current date is 'typed' into the date picker and then the search button clicked the date in the date picker goes 31/12/1899 (which obviously mean the date format is not recognised, so it defaults to this date instead because it can't read it).
The date picker format looks like this:
However, I have to type in 12/12/2022 - 00:00 for it to work so the format it expects is DDMMYYYY - 00:00.
How can I use the CurrentDate command to work with Send Keys so that it's CurrentDate (DDMMYYYY) - 00:00 entered each time which is the correct format?
Here is what I have.
I hope this makes sense. I am new to PAD.
Regards.

Report
All responses (
Answers (