Hi, I’m trying to make a try catch statement for this error
I have tried elementnotfound, elementnotavailable, elementnotset and noclickablepoint exceptions but none have worked so far and that error keeps coming up
If anyone knows what type of exception I need for this error please let me know
Welcome to the UiPath Community!
An easier way to handle this would be to use the
Element Exists or the
Check App State activities, depending on your activities package.
With these activities, you can have your automation wait until the element is visible, and then using the Output Boolean value (Visible
false) you can either try another approach or throw an explicit App/Business exception if that’s what you’re really after.
We can get it using Exception.GetType() method.
For now, can you try to catch it as “Exception” then check exception.GetType() as the following?
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.