Multiple element exists - same selector

Is there a way to check for multiple occurrences of an element?
On a form I have there can be multiple warnings and they all have the same selector.
I check for warnings with Element Exists but can only get the first one.

1 Like

@snoopy

You have the activity called Find Children which returns collections of uielement IEnumerable<UiElement>.

1 Like

got an example?

I tried Find Children but can’t find anything useful to do with the collection.
Here’s what I tried:
image

image

@snoopy

In TypeArgument property of For each activity, change the datatype from Object to Uipath.core.UiElement .

2 Likes

A post was merged into an existing topic: Convert UiPath.Core.UiElement to text

Thank you! nice solution.

1 Like

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