Select item issue exact match

Description

Cannot select exact match by using select item activity. I am passing the value from variable and it does not select the value, which I pass. For ex: The Value i am passing is “Capital Bank” but it comes in the second or third place after loading the application. I have given the variable name in inner text but it is selecting the same value and the value in the drop down changes dynamically, it comes in second or third or fourth. How & which activity to be used as the select item does not work properly after giving the exact match.

Link

Date

2025-08-05

Related UiPath products

Studio

Hi @Ikram_Ahmed

Can you explore the selector using ui explorer and share screenshot with us?

Also share your current selector.

Also, check the differences in selector when it’s showing at 2nd place and when at 3rd place.

@Ikram_Ahmed,

Can you try using Set Text activity to set the drop-down value to the desired one.

Hi @Ikram_Ahmed

Can you share the screenshot of the selector you are using and passing the variable.

Thanks!!

Hello @Ikram_Ahmed

As an alternative to the Select Item activity, you could use 2 Click activities with SimulateClick defined.
One that clicks the dropdown to expand the possible options.
And one that clicks the desired value within the list.

Regards
Soren

Please find the attached screenshot for your reference. The Value is not changing from 2nd to 3rd place but it is coming in the 2nd place all the time.
SS1.docx (182.8 KB)

Hi Soren,

I am using type into activity and passing the arguments, but the value in the application is showing in the 2nd place. I have used click activity and I could not see ‘aaname’. Please find the screenshot for your reference.
SS1.docx (182.8 KB)

Hi Ashok,

I am using type into activity, it is correctly entering the value. I have used set text activity, it is entering and it showing in the same place. It is not exactly matching. I have attached the screenshot. Please check.

@Ikram_Ahmed,

Alright, it’s a custom dropdown. You will have to use type into and Click activity in combination to select the correct dropdown item.

@Ikram_Ahmed

indicate the dropdown single field in ui explorer and add variable inplace of innertext and use that in click activity to click after the typing action

cheers

@Ikram_Ahmed

When you clicking any of the item from drop down, explore that selector using ui explorer.

there will be various attributes like aaname, innertext, visibleinnertext that controls the naming of the element. Find any of those and provide your variable name under that attribute value.

that should help.

If using Click activity to select the item, you should be able to hit the desired value, even if others have part of the name.