Hi,
I have a find element in an outer for loop and inner try catch. I am getting an error with find element that ‘activity timeout exceeded’. I hoped catch section would catch this and for loop continues. Am I doing anything incorrect?
The error message is generated because the activity is not able to find the element. You should try refining the selector in order to be able to find the element.
In case you need more time for the element to appear, you could try increasing the default timeout in the Properties section of the activity.
Hi @A_Learner ,
I’m sorry if my interpretation of your case correct?
If this is the case,:
Whenever ‘Find Element 1’ faulted, UiPath will throw an error.
Whenever ‘Find Element 2’ faulted, UiPath will throw an error, the error caught by ‘Try Catch’, then ‘Catches’ Section will be executed, then ‘Finally’ Section will be executed, and then it will go to the next iteration of For Each Loop