<img src="//trc.taboola.com/1222697/log/3/unip?en=page_view" width="0" height="0" style="display:none">


Knowledge Base

How to use the "Get Attribute" activity

What is an attribute ?

An element stores valuable information about the control it identifies. For example, it stores information about its position or title. If it is a list, it knows its items, if it is a check box it knows if it is checked.

Each information  is an attribute of the element and you can retrieve it using GetAttribute activity .



1. Using Get Attribute ("AppPath") activity for Calculator we have extracted the path of the application.

1. List of attributes available. 
2. A variable that keeps the attribute as a string. 

2. Using Get Attribute activity to verify if a check box is checked or not.

How to inspect attribute values

UiExplorer -> Property Explorer let's you inspect the values for all the attributes of an element.

ui-explorer-property explorer.png

Download workflow example