Skip to main content

Get Ancestor

Retrieves an ancestor for a specified UI element.

Options

  • Element: Use the UIElement variable returned by another activity.This property cannot be used alongside the Selector property. This field supports only UIElement variables.
    • Type: ArenaRobotics.Domain.Entities.UIElement
    • Required
  • Selector: Text property used to find a particular UI element when the activity is executed. It is actually a XML fragment specifying attruibutes of the GUI element you are looking for and of some of its parents.
    • Type: System.String
    • Required
  • Up Levels: Specifies at which level of the UI hierarchy to find the ancestor.
    • Type: System.Int32

Output

  • Ancestor: The resulted ancestor.
    • Type: ArenaRobotics.Domain.Entities.UIElement