I want to use the click selector property
i want to print name property in message box
lets assume you had catched the element e.g. by a find element / or any output of an uiElement variable.
We can assume the attribute name by using the Selector API
uiElementVar.Selector.GetTags().Last().GetAttributeValue("name")
Visuals:
Hi @praveen5
In click activity, open the properties and create a variable in the Input element field. Let call the Variable name as Element.
After click activity take the Get Attribute activity and pass the above variable called Element in the Input element, select the name attribute from the Attribute dropdown, create a variable in the Save to field.
Then the variable which created in Save to contains the data of name attribute.
Hope it helps!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.