# Loop over UI elements

**URL:** <https://forum.uipath.com/t/loop-over-ui-elements/68102>\
**Category:** Help\
**Tags:** uiautomation, activities\
**Created:** [October 2, 2018, 8:32am UTC](https://forum.uipath.com/t/loop-over-ui-elements/68102 "2018-10-02T08:32:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![akamali](https://avatars.discourse-cdn.com/v4/letter/a/919ad9/32.png) [@akamali](https://forum.uipath.com/u/akamali)\
**Post date:** [October 2, 2018, 8:32am UTC](https://forum.uipath.com/t/loop-over-ui-elements/68102/1 "2018-10-02T08:32:57Z")

</div>

Hello Everyone;

I’m trying to go inside each user in the list in my windows application, then perform a number of tasks

since this is not an excel sheet I can’t just loop over a list of items inside an array. is it possible to loop over a list of UI elements? I’m not sure

What would be the best approach to get this done?

 ![59%20AM](https://global.discourse-cdn.com/uipath/original/3X/4/6/4624a1f7d8662cf17b095df11626e590f88edb16.jpeg)

---

<div class="post-metadata">

**Author:** ![loginerror](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/loginerror/32/22614_2.png) [@loginerror](https://forum.uipath.com/u/loginerror)\
**Post date:** [October 2, 2018, 9:07am UTC](https://forum.uipath.com/t/loop-over-ui-elements/68102/2 "2018-10-02T09:07:49Z")

</div>

Hi @akamali

If you have access to selectors (=it is not a Citrix automation), then you can study the selectors of each row with UiExplorer.

Most of the times it is possible to create a selector with a variable, for example ID=1,2,3,etc. It is then possible to increment the variable and select every consecutive row this way.  
There are plenty of topics about this particular approach on the forum 🙂

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [October 29, 2018, 9:09am UTC](https://forum.uipath.com/t/loop-over-ui-elements/68102/3 "2018-10-29T09:09:29Z")

</div>

Closed on October 29, 2018, 9:09am UTC


