I’m executing a macro, but when the macro find a error in the file a error message is generated (will of the developer) , the Execute Macro seems to run indefinitely wait for someone to click on OK and continue like is there is no error.
Try catch does not works because it does not fail the activity, is there any way to detect those kind of Popup ?
Are the number of Pop-ups that you receive is limited?
If it is limited, then you can use activities like Element Exists or Image Exists or On Element/Image appears activity to find those Pop-ups and act on it when they appear.
But then the question will be when will you trigger these activities or when to sequence them. Typically, you need to run these activities in parallel when you start executing the macro.