Stored an array of tags (HTML tags) of type UiPath.Core.UiElement. When trying to print the individual items, only “UiPath.Core.UiElement” gets printed although the number of times it gets printed is equal to the number of tags. So obviously the tags seem to be there but not able to access/print them. Is there a way to get the values stored in them? Is there any typeCasting required to get the data?
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.
Would be nice to have a “Elements Exists” or “Find elements” activity that returned a collection.
If there are multiple elements with similar selector, there should be an id property: idx='1'
You can then reach all your elements by incrementing the value of this property.
It is tricky. Could you maybe provide an example screenshot?
Normally each element should always have something unique about it that we should be able to use. When you browse the element tree in UiExplorer, try checking out multiple levels, and not only the last node.