MS Edge popup freezes Studio

I am working through the Calculate Client Security Hash exercise in the Advanced RPA Developer course.

My development environment details:
Running Windows 11 on a Macbook via Parallels Desktop
Studio 2024.2.1 Community Edition

Dependencies:
UiPath.Excel.Activities v2.23.2-preview
UiPath.UIAutomation.Activities 24.2.0-preview
UiPath.Credentials.Activities v2.0.0

I’ve got the whole update process worked out except I cannot automate clicking OK on the popup that appears after updating the work item.

Here’s a picture:

At this point, I can click the partial OK button or hit the enter key to make the popup go away. Neither of those methods works when the bot tries to do it. Furthermore, when I try to record or troubleshoot with Computer Vision, the whole Studio app freezes until I click OK. Then Studio works again. This means I am unable to record clicking the button. I’ve tried using activities within a CV scope, but the bot cannot “see” the popup nor interact with it.

I am at my wit’s end. Could this be a bug between MS Edge and UiPath? Any help welcome.

Hi,

Do you mean studio stops when try to indicate the button in the alert dialog? If so, as workaround, can you try to minimize the browser then maximize it again when stopping?

Regards,

Can you try to drag a new Use App / Browser activity and point it to the popup window?

I havet also been troubled with browser popups. I have worked around this with ComputerVision, keyboard shortcuts, and UIExplorer.
Though, I can’t remember right now which one was most efficient.

Hi @John_Carr

May be the bot was not finding the Ok button. For this use the Check app state activity and indicate the Popup. Inside Target appear block insert the click activity and indicate the Ok button or you can use the Keyboard shortcuts activity to give Enter key.

Hope it helps!!

The problem is that Studio is have great difficulty with finding the popup when you try to indicate it or its buttons in ‘Check App State’ or ‘Use App / Browser’ activities. As @John_Carr says, Studio freezes when you have the popup open and try to use Indicate.

@John_Carr I have now checked my code, and the quickest way to handle the popup, that I have found, is to have a Computer Vision scope, indicated on the popup, inside a try/catch. If it is found, use CV Click for the button. Otherwise continue inside the catch-block

I’m not sure what I did to fix it, but it works now. Using the Analyze Workflow File tool, I cleaned up lots of extraneous code from all my attempts, so maybe that eliminated the problem. In the end, I used CV to identify the text in the confirmation popup, then send the Enter key.