Articles → UIPATH → Store The Selector In A Variable In Uipath
Store The Selector In A Variable In Uipath
Example
- Drag and drop the "Find Element" activity to find the notepad.
- Set the output of the "Find Element" activity to a variable "element" (of type UIElement).
Click to Enlarge
- Drag and drop the message box activity and display the value of "element.Selector".
Click to Enlarge
- Save and run the bot.
Output
Click to Enlarge