In web applications have multiple + icons to expand sections or add items. Standard For Each UI Element often fails because the icons have dynamic selectors, may not all be loaded at once, or the page structure changes during execution, making it challenging to click every icon reliably.
Use Find Children on the parent container to retrieve all child elements.
Filter the children using selector attributes like aaname='+' or matching class names.
Loop through the filtered list with a For Each activity.
Inside the loop, perform a Click on each child element to expand all sections.
If you want to do UiAutomation then you are on right path but inside for each you can use element exists or get text and indicate the + icon and put if conditon and if TRUE then click n the + icon everytime else break the loop
In Find Children, set Target.Element to the parent container, Scope to FIND_DESCENDANTS, and output to a variable like outChildren.
Set Filter with the selector that identifies the + icon, for example <ctrl role='button' aaname='+' /> (Note: adjust this with your original β+β icon selector)
In For Each, use TypeArgument = UiElement, Values = outChildren, and inside loop Click activity with InputElement = item.