Hi @Jackson_Hew , have you tried to use the ‘Type into’ activity to key in the date? Just make sure the value is you put in is in the correct Date Format of the Website.
I can use type into, but i do not how to set the gap range of the dates in a loop to download the report 4 times.
For example:
I ‘type into’, 29-02-2024 Date1 ~ 01-11-2023 Date2 >> download the report
then next
‘type into’, 30-11-2023 Date1 ~ 01-08-2023 Date2 >. download the report and so on.
The thing is i dont have a fixed date of range.
In April, I will need to run the automation and the date range will be from 31-03-2024 - 01-12-2023
I assume that the first date range will start from the last day of last month?
Here’s a pseudocode of what I understood from your question:
Set End Date = Last Day of Last Month
Set Start Date = End Date - 90 days
Download Report
Initialize counter = 1
While counter <= 4:
Calculate Next End Date = Start Date - 1 day (to set it to the last day of the month)
Calculate Next Start Date = Next End Date - 90 days
Enter Next Start Date into text box
Enter Next End Date into text box
Download Report
Increment counter by 1