Skip to main content

Get Element Attributes

Description

This activity fetches the specified attributes of a UI element.

Properties

Input

  • Web Page – It specifies the webpage object of the currently opened web page.
  • Element Path - It specifies the XPath of the element to get the attribute values present on the webpage. Please encode the XPath if it contains special characters. For more information, refer to XPath Encoding.

Misc

  • DisplayName – Add a display name to your activity.
  • Private – By default, activity will log the values of your properties inside your workflow. If private is selected, then it stops logging.

Optional

  • Continue On Error – It Specifies whether the automation should continue even when the Activity throws an error. If True, the Activity continues without throwing any exceptions. If False, the Activity throws an exception. The default value is False.
    note

    Catches no error if this Activity is present inside the Try-Catch block and the value of this property is True.

  • Timeout – An Argument of type Timespan Specifies the amount of waiting time taken by the activity to run before an error occurs and aborts the workflow. By default, the Timeout value is 10 minutes.

Output

  • Result - Holds the value of element attributes.

Example

Download Example

Get Element Attribute