Articles → UiPath → Element Exists Activity In UipathElement Exists Activity In UipathIn this article, we will discuss "Element Exists" activity in UiPath.Purpose The "Element Exists" activity checks if the UIelement exists or not. If the UIelement exists then the activity returns true or false.Example In this example, we will check if the notepad exists using the "Element Exists" activity.First, drag and drop the "Element Exists" activity and select the UIelement using the "Indicate on screen" link.Click to EnlargeSecond step is to declare a boolean variable.Click to EnlargeThird step is to output the value of "Element Exists" activity to the "IsElementExists" variable.Click to EnlargeFinally, display the value of "IsElementExists" variable in the message box.Click to EnlargeOutput If the notepad existsClick to EnlargeIf the notepad does not existsClick to EnlargePosted By - Karan Gupta Posted On - Saturday, January 9, 2021 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
Query/Feedback