I am trying to create an automation that downloads files from a site according to their month/year. However, the only hard part I am facing is the dropdown option as I want to save the inputted month and year and use it for other sites
So far for month dropdown, I have only constructed a “Click” activity on the dropdown and a multiple choice “Input Dialog” to save user input for month.
Same goes for dropdown for year, the only difference is that I added a “Get Text Year” activity between “Click” and “Input Dialog” as it may be used in other future years.
Also a few things:
The dropdown option is not typeable and must use clicks to change the month/year
My “Get Text Year”, I saved as availableYears outputs in my “Input Dialog” as 202320242025, instead of separate, does that mean I should use multiple choice for year too?
1st point you are able get all the data by usign get tex?
if yes, get text activity outout will be in string format, here if you want give those values in input dialogues box each item should be separate with semicolon ;
Then only you can see drop down.
If you are not abel to get all dropdown values by using get text use get attribute by using items you are able see all drop down values and that will be in the form of list you need to convert that to string by semicolon separation(;)
Ah yes that is what I am trying to do, but the main problem is that currently the automation is unable to find and interact with the option when I key in the year/ month I want. Furthermore, since the automation is going to be used in the future, it needs to be able to detect options that are not listed in the dropdown list (which is the 2nd main problem bugging me currently)
I have no idea what is causing the first problem to happen, dunno whether it is due to the dropdown closing immediately when I try to indicate its options on the screen
Step 2: Check the value enters is in the right format. Split using comma and make sure the values contain only 4 digits which are between a range of years
Step 3: If input validation failed - Display a message box highlighting the error and stop the process
Step 4: If validation is success - loop through the years and start selecting the year
Step 5: Save the input values to a variable and store it to asset. use the asset for future reference from other process
Hello, sorry it took long for me to respond. I will only have access to my automation tomorrow, I will update you then if I have any more questions! Thanks a lot!