We will learn step by step tutorial for “Find Element Activity in UIPath”. we use FindElement to return the UiElement found on the screen. This activity is mostly used to get the UiElement like “Tag, div, text box value” from any website or screen.
FindElement will get the Element details in UiElement variable. also variable type of find element is UiElement.
Now after this step, now Selected UIElement details is stored in UiElement variable ex. “getUiElementValue”. Now we use another activity to get the text of selected UiElement.Then to get the text from UiElement we need to use GetAttribute Activity and attribute name is “aaname”. so using this GetAttribute activity we can get the value of the specified attribute.
FindElement waits for the specified UI element to appear on the screen (to be in the foreground) and returns it as a UiElement variable. If you want to find out if an element is enabled or not, please use activities such as Get Attribute or Wait for Attribute, coupled with the aastate
attribute.
Output
- FoundElement – The found UI element. This field supports only UiElement variables.
Options
- WaitVisible – When this checkbox is selected, the activity waits for the specified UI element to become visible.
- WaitActive – When this checkbox is selected, the activity waits for the specified UI element to become active.
Conclusion
I hope you liked this article about Find Element Activity in UIPath. I would like to have feedback from my blog readers. Your valuable feedback, question, or comments about this article are always welcome.