"For Each UI Element" not available on web version?

Hello experts
I am new to UiPath and I am trying to reproduce the use case described here: https://www.youtube.com/watch?v=crJ_MLrfXMY&t=463s (which is to click on all occurrence on the screen based on a condition)
The video is referring to the function “For Each Ui Element” however I do not see this function on the web version. Do I need to install the client for that? I have a Mac.

Thank you

Hello @Foued_Ali

You could use a regular For Each activity and use the Argument Type UiElement.

Regards
Soren

2 Likes

Many thanks Soren this is really helpful !

Can I also ask you how can I use the “In” field to mention where to click ?

I have this webpage with several links “statement transaction” and I need the rpa solution to click on each one of them:


Thank you for your help !

1 Like

Hey @Foued_Ali,

The In field is to mention the variable that contains the uielements as a collection or iterable. You have to input that variable name into the In field.

Coming to your next question where you have to mention to click the statement transaction.

  1. Please check the properties of an UiElement where you may find the tag aaname or label or displayname having the value as “statement transaction”.
  2. Inside the for each have an if activity where the condition will be to match any of the tags you are using.
  3. And add a click activity in the then sequence
  4. Make sure you have the selector id reliable and dynamic by having only the relevant tags and values to achieve the desired output.

Happy automation🤖

1 Like

Understood, many thanks !!

1 Like

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