Whenever I tried to use the “Select Items” activity to let UiPath select a month/year the user inputted, it does not seem to click anything. I even tried using the CV process (CV Screen Scope > CV Click > CV Get Text > CV Click) but it too does not work. Its as if UiPath does not recognize it as a dropdown. I tried using “Find Element” too, but it seemed to close my dropdown for some reason.
The main purpose for my automation is to select month and year that the user has input, applies the month/year, download files from there (Also sorry for the weird lines in the image, they are not relevant)
you can try using the “Click” activity to open the dropdown, followed by the “Type Into” activity to enter the desired month and year. Another approach is to use the “Click” activity to open the dropdown and then navigate through the options using the “Send Hotkey” activity with the Down and Enter keys.
If select item does not work..then try to use click on the dropdown first and click on the value you need..use variable in place of innertext in selector
Get the input value to a variable. Make sure the value is matching with drop down including the case sensitivity. Lets say the value is store in the variable strYear and strMonth
a. Click on the drop down so that the drop down will be displayed
b. Click on any of the Year value for changing it to dynamic
c. Go to the selector properties of second click
d. Uncheck the dynamic and make it strict
e. Instead of using the hard coded year value, replace it with our input variable strYear wherever the hard coded year is displayed.
Hey @Justin_Tan_Jun_Song_EE if select item activity did not work it for you . you can use the click activity .to click on the particular item from the dropdown.and try with simulate click or Window message method from the input of click properties.
If you open target in your click you will see strict selector..and in that innertext is one of the attribute that attribute holds the value like apr, 2024 etc..so in that place use a variable which will contain the required value to click so that it would be come dynamic and click based on the value pssed to variable
Hello, thank you for the advice. I will look into your advice tomorrow since I do not have access to my automation now, I will inform you if I have any queries!