Get Attribute Element

Estimated reading: 3 minutes 93 views

This activity allows users to extract the value of a specific attribute from a detected element in a Java application. It provides a list of available attributes for selection, and the extracted values can be used in later activities for processing or to validate the UI element before taking 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.

Attribute: This option becomes available after the element is detected in the Java application. It allows you to select a specific attribute from the dropdown to retrieve its value. Click here to learn more about the list of attributes.

Note: Use this option when you want to extract only a particular attribute value.

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: *Returns all the attributes and their corresponding values from the specified element in a table format.

AttributesValue: Returns the value of the selected attribute from the “Attribute” dropdown as a String.

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.

Share this Doc

Get Attribute Element

Or copy link

CONTENTS