Please help,
I have collection of UI Elements (IEnumerable <UiElement) and need to filter them.
if UIelemnt contains children which has the aaname attribute with string “example” i need to save it.
how get allChildren from the UiElement? then I would be able use for/each and GetAttribute…
I use FindChildren activity, but don’t know how to write correct filter if I need all children.
You can just use '‘Find Children’ activity with the target which has all the childrens you may want to get. Your filter can just contain "<webctrl />" unless you may want to filter only the childrens that qualifies the filter selector. Once you get those children you can use ‘For Each’ loop and use ‘Get Attribute’ with the attribute name as aaname.