I’m trying to automate the process of clicking on some links and printing them. However, sometimes the element cannot be clicked. I’ve tried using a try-catch block to handle errors, but it doesn’t seem to work. Here’s my flow:
I have all the activities that can generate an error, and in the system.exception, I have a messagebox. However, it never gets triggered, and my flow stops, displaying the following error: “Click: Cannot send input to UI element because it is outside of screen bounds.”
I want the flow to continue even if an error occurs. How can I solve this issue?
Hi @Gabriele_Radici
If you are using debug mode to execute the code then you check the continue on the error option of the activity.
If you are using the Run mode to execute your code you can put your entire code into the try-catch block which will catch the error occured on any activity.