How to get multiple attributes instead of single attribute?

@Sathish_shankar
kindly note:

  • your first screenshot are available selectors
  • your second screenshot are properties of an uielement

some selectors are formed by attributes
some selectors are provided by UiPath on different way

coming forward to your question:

Get attribute activity we will get one attribute only at a time

I agree to @lakshman

an equivalent to get attribute activity is the code line: uiElementVariable.Get(“attributeName”)

a closer look to the Api shows that an uiElement has a Property: Attributes returning a string array with the available attribute names e.g.

so the combination of uiElementVariable.Attributes and uiElementVariable.Get(“attributeName”) gives you the working tool to work on a programmatic approach with all attributes of an uielement

3 Likes