→ For this case, you can use the Get Attribute activity and indicate the Ui element. Select the hasFocus option from the Attribute dropdown. Open the properties and create a variable in the Output element option let’s call the variable name as AttributeElement.
→ After Get Attribute activity insert the click activity and pass the AttributeElement to the Input Element field in Click activity properties.
This will not consider the length of the word it will directly click on it.
Crete a variable in the Output Element field of Get Attribute Activity, pass the same variable to the Input Element field for the Click activity. after you passed you no need to indicate the Ui element.