How to handle pop-up message

anyone have any knowledge on how can we handle the pop-up message?? as i have to click “OK”(screen attached below), to process further.

browser - chrome



use Click Image activity and indicate that OK button to close that pop up.

1 Like

We go three options to handle this
—First use a ELEMENT EXISITS activity and choose this pop up as a element and get the output with a variable of type Boolean named bool_exists
—now use a IF condition like this
bool_exists = True
If true it will go to THEN part where we can any of these three activities
—either use CLICK activity and choose that ok as a element and enable simulate click
—or use SEND HOT KEY activity with key as enter so that it will click on that ok button
Finally use a Click Image activity and choose that Ok button

Kindly try this and let know for any queries or clarification
Cheers @indrajit.shah

I can’t able to select the pop-up element in chrome, instead UiPath studio gets hung while doing so. and using Click Image takes so much time to click.


Use an attach window activity to that message box and inside that place the below send hotkey.

This will work if the focus is on the OK button, if it is not there, then use Tab keys to make it focus by send hotkey activity and then use the below one.


In that case did the second option help us
Activity with key as enter
It’s more like how we do with only keyboard without using mouse to access the buttons in the application

Kindly try once with the second suggested method and let know for any queries or clarification
Cheers @indrajit.shah