Trying to fetch list of items from dropdown list


Tried and looks like find children not retrieving any value. Can you please check thatSystem1_NavigateTO_Download Monthly Report.xaml (12.6 KB)


You would have done if you carefully compared my workflow and yours with each properties, not a problem i have made some changes to your code, happy learning:)
System1_NavigateTO_Download Monthly Report.xaml (12.3 KB)

Hope it helps…

Can you please let me know changes done. I see For each loop type argument has been to changed to Uielement instead of object

and I have just downloaded your xaml and executed and it shows error but at the same time it doesnt prompt result message box.

Please correct me if still missing in understand.Apologies for inconvenience

Hi @Leela_Javvaji
DropDown.xaml (11.1 KB)

The Above program is absolutely working for me, for your clear understanding i try to explain the logic

  • Find Children output is always of type IEnumerable ( Collections type ) so when you loop this, you should change the type argument into UiPath.Core.UiElement which you can find in the Browse Section. So that all the elements which you iterates from the loop will be of UiElement.
  • If you see the Element property of Get Attribute , i have passed for each loop variable Item into it, the reason being it generates the selector of the first element of the dropdown.
  • If you display the output of Get Attribute it would be the drop down element(aaname)

These are the changes i have done in your code, you can make some changes accordingly by comparing both and run. If you Still facing the issue, kindly send me the browser link.

Goutham Vijay

1 Like

Hi @GouthamVijay,

Sorry for the late response.I see all the changes given are incorporated but still workflow is not getting inside for loop

System1_NavigateTO_Download Monthly Report.xaml (12.7 KB)


Looks like you are scraping wrongly in Find Children Activity, try by scraping the entire region of drop-down instead by scraping only July, for example


If you are still facing problem, kindly send me the URL link.

Goutham Vijay


Got the required answer on another thread. Can I know how you got this code

Thank you so much for your help


Did you try with scraping one more time?

yes…its working fine.


FYI…If you scrap only July, only the details of July going to add and if you scrap whole drop-down you are going to get whole data into one Collection(UiPath.Core.UiElement), hope it helped


I have changed selector as the below

Can you please let me know how to select whole dropdown in a single click

@Leela_Javvaji, plese scrap in Find Children, send me the URL link

Month field @ ACME System 1 - Log In

Find Childer Selector as


I’m telling to scrap one more time in find children, refer the above picture and scrap like how i did for another dropdown

Hi @GouthamVijay

Script already working fine by updating the selector

Find children -

- you are suggesting to update like this?


I have disabled my activities and tried to do how you said .can you pls check attachedSystem1_NavigateTO_Download Monthly Report.xaml (21.0 KB)
System1_NavigateTO_Download Monthly Report.xaml (21.0 KB)

Hey @Leela_Javvaji

I’ve modified your workflow, hope it works and for your reference i’ve created one more workflow which will works on Reports-Download Monthly Report page and fetches aaname(attribute name) of each and every month, first you run the modified workflow, still if not works take a reference of another.

System1_NavigateTO_Download Monthly Report (Modified).xaml (21.2 KB)
ACMEDropdown.xaml (8.9 KB)


1 Like

Thanks alot @GouthamVijay

Modified workflow works :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.