UiPath cannot detect dropdown content

Hello, need some help for this:


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)

@Justin_Tan_Jun_Song_EE,

Make sure the user input is exactly matching with the dropdown items available.

Hi @Justin_Tan_Jun_Song_EE

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.

Happy Automation

@Justin_Tan_Jun_Song_EE

As per screenshot looks like the field supports type into..try to type the value you need and ideally it should be populating the related dropdown

Cheers

Sorry I forgot to include, I cannot use “Type Into” activity as the dates is only clickable

Also, I think its a me problem but my UiPath is running the newest ver so there is no “Send Hotkeys” activity

Sorry, forgot to include that the dates are only clickable and cannot be typed into (I wish it was)

Yeah but the current problem I only have is that no matter the input (correct or not), UiPath does not select any option in the dropdown

@Justin_Tan_Jun_Song_EE

  1. Did you try set text?
  2. 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

Cheers

  1. Yep I tried “Set Text”, did not work
  2. I’m sorry but I don’t quite understand what you mean by “use variable in place of innertext in selector”

Hi @Justin_Tan_Jun_Song_EE ,

Try below options

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

  1. Direct method of using Select Item activity

If option 1 is not working, try option 2

  1. Type into input value using a combination of Enter or Tab

  1. Next option would be to use 2 click method

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.

1 Like

I will try the 2 click method then, will get back to you if I have any questions

Sure

You need to make changes in the second click. Might look something like below image

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.


try to use these properties.

cheers

1 Like

@Justin_Tan_Jun_Song_EE

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

Cheers

1 Like

Hello, thank you for the advice. I will work on it tomorrow since I do not have access to my automation now, I will inform you if I have any queries!

1 Like

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!

1 Like

Ah I see, okay I will inform you tomorrow if I have any queries as I do not have access to my automation now. Thanks!

1 Like