Convert UiPath.Core.UiElement to text



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?

Thank you!!

How to get the value for Get Source element

You need to be able to read the attributes of respective UiPath.Core.UiElement to get the values.

For your requirement, you may need

  1. Tag/Type - Type of element input,button etc
  2. aaname - Element Name
  3. Value - Input value (for textbox)

If you are looping the array:

You could either use the GetAttribute activity and pass the attribute as string to get the Value.


item.Get(“attribute name”)


Thank You…



Is there any way to arbitrarily list all available attributes of the UiPath.Core.UiElement?


Something like this?