How to get all values of dropdown?

I need to get all the value of dropdown and store it in a variable. How to get this?
For example I need to get all the countries name

1 Like

Store it in a variable??
can you be more specific?
@samarth_p

Hi @samarth_p

Use Get attribute activity to gell all the values of dropdown

2 Likes

Hi @samarth_p

Please refer the following post,

Hi @samarth_p

You can use find children activity to get all the items from the drop down.

The find children activity returns an ienumerable list, which you can iterate using a for loop and get its name using a get attribute activity and mention the attribute property as “aaname”

Kindly get back if this is not working up to your expectations.

4 Likes

Thank you @monsieurrahul it worked for me.

1 Like

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