Loop over UI elements

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?

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 :slight_smile: