ListOfAttributes

Estimated reading: 4 minutes 1934 views

The following are the list of attributes that are available in the “GetAttributes” activity. The following attributes and it values can only be extracted from the “detected element”.

1. Accelerator key: It refers to the “Keyboard” shortcut keys or the modifiers (CTRL, SHIFT AND ALT) available for the “spied element.” if any key is enabled for the element, it will be returned as output. When there is no accelerator key, it will be returned as null value.
2. Access key: It refers to shortcut key configured along with the “Spied element” and returns the output of the activity as a single character that is available, if any. When there is no accelerator key, it will be returned as null value.
3. AutomationID: It indicates the unique identification for the detected element to identify it and making easier to interact with it. It returns the “AutomationID” as output. When there is no AutomationID, it will be returned as null value. 
4. ClassName: It indicates the “Class” of the detected element and returns the output. When there is no ClassName available, it will be returned as null value.
5. ControlType: It refers to the “Input” type of the “detected element” and returns the output of the activity.
6. Framework ID: Indicates the “Framework” of the application that is suitable for the detected element and returns the output.
7. HasKeyboardFocus: Indicates whether the “KeyboardFocus” is enabled is for the detected element. It helps to validate before providing the “keyboard” input to the detected element. It returns the output in “Boolean Format”.
a. True: Indicates that the “Detected element” is enabled for providing “Keyboard” inputs.
b. False: Indicates that the “Detected element” is not enabled for providing the “keyboard” inputs.
8. HelpText: It provides the “text” or “information” that provides the explanations for the “detected element.” It returns the output as the text. When there is no “HelpText” available,  it will be returned as null value.
9. IsContentElement: Provides whether the “detected element” is content of user interface or non-content or decorative element. It returns the “Boolean” datatype.
a. True: Specifies the “detected element” is a content of user interface that contains text, form fields, buttons etc.,
b. False:  Specifies the “detected element” is a non-content or decorative element such as images used for styling or spacing.
10. IsControlElement: Provides whether the “detected element” is the control type element. It returns the output as “Boolean” datatype.
a. True: Specifies the “detected element” is a control element.
b. False: Specifies that the “detected element” is not a control element.
11. IsEnabled: indicates that the “detected element” is enabled or disabled during the execution of the bot. it returns the values in “Boolean” datatype.
a. True: Indicates the “detected element” is enabled to perform action during the execution of the bot.
b. False: Indicates the “detected element” is disabled to perform action during the execution of the bot.
12. IsKeyboardFocusable: Indicates whether the “detected element” is keyboard focusable. It returns the value in “Boolean” datatype.
a. True: Specifies that the “detected element” is keyboard focusable.
b. False: Specifies that the “detected element” is not keyboard focusable.
13. IsOffScreen: It facilitates to provide whether the “detected element” is visible on the screen during the execution of the bot. It returns the value in “Boolean” datatype.
a. True: Specifies that the “detected element” is visible.
b. False: Specifies that the “detected element” is not visible.
14. IsPassword: indicates that the “Detected element” is a password type control or not during the execution of the bot. It returns the value in “boolean” datatype.
a. True: Specifies that the “detected element” is password type.
b. False: Specifies that the “detected element” is not password type.
15. LocalizedControlType: It facilitates to provide the “text” or “description” of the detected element’s control type.
16. Name: Provides the “name” of the detected element during the execution of the bot.
17. Orientation: It facilitates to provide the “orientation” format of the detected element. It returns the value as “Horizontal” or “Vertical” format.
18. ProcessID: It facilitates to retrieve the “Process ID” of the “Application or Process” that is detected for automation. The “Process ID” can be seen in the “Task Manager” as “PID” column against the processes. It returns the value in “Integer” datatype.
19. ExpandCollapsePattern.ExpandCollapseState: It refers that the “detected element” have “expandable or collapsible” elements such as tree views, menu’s section or sections either visible or hidden. It returns the output of the activity as,
a. Expanded: Indicates that the “detected element” is expandable and visible.
b. Collapsed: Indicates that the “detected element” is collapsed and hidden.

Share this Doc

ListOfAttributes

Or copy link

CONTENTS