Articles → UIPATH → Store The Selector In A Variable In Uipath

Store The Selector In A Variable In Uipath






Example




  1. Drag and drop the "Find Element" activity to find the notepad
  2. Set the output of the "Find Element" activity to a variable "element" (of type UIElement)
  3. Picture showing assigning the output of the Find Element activity in the variable
    Click to Enlarge

  4. Drag and drop the message box activity and display the value of "element.Selector"
  5. Picture showing the value of Selector attribute of UIElement in the message box
    Click to Enlarge

  6. Save and run the bot

Output


Picture showing the message box with the value of the selector
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Thursday, April 8, 2021

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250