Looping thru Unordered List

Hello there,

I was trying to loop thru’ an Unordered List to get the List Items. How do I get the text from the individual elements in the collection? I was looping thru the IEnumerable Of UiElement returned by the find children Activity

Appreciate your Help
Thank you
Hara

@Hara_Gopal,

If you are trying to get item from string list, then use index to get the item.

If you are using for each loop then you can get all items one by one in the loop.

Check this link for more help on list,

Try to use Get Attribute and set the attribute to “inner text” and output it in a writeLine to see if it is working.

1 Like