UIElement information

uiautomation
studio

#1

Hi all,

I use “Find children” activity and I have a collection of UIElements (url’s from webpage). How to see information about elements? Name, selector’s info or smth else. Collection.Count() - not 0, and I’m sure that it is not empty.

I try For Each and Click for each item from collection but second item gives me error about invalid selector and I want to see that in my collection


#2

Your find children activity will return output as a Uipath.Core.UiElement type.
So use it with for each in a type argument.
image

then insdie foreach use item.Selector.Text to get the selector.

Regards…!!
Aksh


#3

Aksh,

I did the same actions but it was no result.
Now it works, miracle had happened :slight_smile:

Thanks!


#4

@kykym6p

Hi,

I am also facing almost same issue, can you please give me your .xaml file please.
also where exactly the - Typeargument should be changed? is it in the variables panel?
i am having only one .xaml file then why argument?

Please help
Sonika