Please can anyone help on this?

I want to select an item from a dropdown which is present in a dialog box or popup window. Select Item and Type Into activities are not working for me. Click activity is working but I want to get the values for the dropdown from an Excel. Which activity I should use? Can anyone explain in detail with some example. Thanks.

Hi @Vasavi_Ungrapalli

Please elaborate the selection like if the drop-down consists of a single page or many

Hi @Vasavi_Ungrapalli let me know if you need to do like this ?

It’s like there is a button on the page.Clicking on that button a dialogue box or popup opens up. In that dialogue box, drop down is present.

Yes… and this is working for me. But with this I can’t get the values from excel.

Make a variable in your selector and check once

can you share me the screenshot ? so that I can suggest you or try @Sudharsan_AIT method may be it may work…!

Hi @Lokesh_Raj_R_M @Vasavi_Ungrapalli



@Vasavi_Ungrapalli check this…!

Can you please explain this in detail as I am not understanding what I need to do?.

Hi @Vasavi_Ungrapalli
You need to click on the drop down dynamically right?

Yes. Like I want robot to read the value from the excel and select the same from the dropdown.

  1. Create a variable like this
  2. open UI Explorer in Click Activity and indicate on screen and check for “text” or “innertext” in the attributes

  1. Right click on the value and choose variable as you have created in the starting if not choose create variable and create a new one

4.As you remember this is the variable i have created so choosing this

  1. After Selecting it will become like his and works dynamically


Hi, when I try to create a variable it is throwing a compiler error. “row is not declared. It may be inaccessible due to its protection level”. How to resolve this error. Thanks.

You are assigning inside or outside the for each?

Hello vasavi…
Try using “Find children” activity and get all the drop down values. In a for loop activity try to select the item in the drop down which is equal to value present in excel.

check this below link:

I have assigned inside the for each only. I am attaching the screenshot here.

You need to give CurrentRow here

You need to declare the Variable name inside the for each

If I give CurrentRow also it is throwing the same error.

You need to declare the Variable name inside the for each: Can you tell me how to do it? . I am new to UIpath. Still learning.

Ok. But can you explain me how to do it in detail?