Need help finding exception type

Hi, I’m trying to make a try catch statement for this error
image

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

Thanks!

1 Like

Hey @automatedbox
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 true or false) you can either try another approach or throw an explicit App/Business exception if that’s what you’re really after.

3 Likes

Hi,

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?

img20220225-1

Regards

3 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.