The activity 'Click OK' with ID encountered an exception or was canceled unexpectedly

I am trying to manage popups that occasionally appear when modifications are made on a webpage or an online form.

To handle these popups, I implemented a Parallel activity. However, I keep running into an issue with the click action, and I’m struggling to figure out what’s causing the problem or how to fix it.

The error message I’m encountering is: The activity ‘Click OK’ with ID encountered an exception or was canceled unexpectedly.

There are several strategies to handle this, but a good starting point is using the Check App State activity in Modern Design, especially if you’re dealing with one popup at a time. Other options include Element Exists, Check Execution, and similar activities.
Alternatively, you could try the Pick Branch activity for a more dynamic approach. Additionally, there is a newer activity designed specifically to close popups, which might be worth trying out for better efficiency in handling unexpected popups.

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