GetAttributes

Estimated reading: 3 minutes 1950 views

This activity helps to extract the specified “Attribute’s value” from the detected UI element from the desktop applications. It provides a list of “Attributes” options for the detected element to choose from. The extracted attributes can be used in subsequent activities for further processing. It also helps to validate the UI element before performing any action.

Properties

INPUT

DelayAfter: It assists the user to add a delay before initiating subsequent activities. The delay duration here is in milliseconds. By default, it is set to “300” milliseconds. When the option is left blank, the delay will not be considered.

DelayBefore: It assists the user in adding a delay before starting the execution of the activities. The delay duration here is in milliseconds. By default, it is set to “200” milliseconds. When the option is left blank, the delay will not be considered.

ExecuteBy: Gets auto filled once the “Active Application” is selected. This contains the set of attributes for the specific spied element.

WaitTime: It enables the user to introduce a delay before initiating subsequent activities. The delay is specified in milliseconds.
By default, it is set to 10000 milliseconds. Leaving the option blank will result in no delay being applied.

MISC

DisplayName: Displays the name of the activity. The activity name can be customized, which aids in troubleshooting.

SkipOnError: Specify the “Boolean” value as “True” or “False.”
True: Continue executing the workflow regardless of any errors thrown.
False: Halt the workflow if it encounters any errors.
None: If the option is left blank, the activity will, by default, behave as if “False” were chosen.

Version: It indicates the version of the feature being used.

RESULT

Attributes:* This parameter helps to view the output of the activity, displaying all “Attributes” with their corresponding values for the spyed element. It returns the values in a “Datatable” data type.

AttributesValue: It helps to view the output of the activity, displaying the specified “Attribute’s value” for the spied element. It returns the values in a “String” data type.

Result: It provides the ability to view the execution status of the activity. It returns values in “Boolean.”
True: Indicates that the activity has been executed successfully without any errors.
False: Indicates that the activity has been unsuccessful due to an unexpected error being thrown.

Represents mandatory fields to execute the workflow.

TIPS

1. The single attribute and its values can be extracted using the “String” property in the activity.
2. Using the “Data_table” property, all the attributes from the list provided in the activity can be extracted for the detected element.
3. Null value will be returned if the chosen “Attribute” type does not contain any value.

Share this Doc

GetAttributes

Or copy link

CONTENTS