How can UiPath automate clicking on the pop-up dialog boxes that appear?

Hello,How can UiPath handle the pop-up dialog boxes that appear while executing a macro,I need to click the ‘OK’ button using the mouse ,There are three different styles of these pop-up dialog boxes. How can UiPath automate the process of clicking on them until the macro execution is complete?

@shenyu

  1. if your macro is giving those pop ups please dont use msg box or pop up in macro…modify macro accordingly
  2. Apart from this you can use Application.DisplayAlerts = False which will supress the pop up

cheers

I cannot modify the macro, the pop-up window is some verification. I can only click ‘OK’ when it pops up and let it run until it ends.

@shenyu

Can you add Application.DisplayAlerts = False ?

even if this is not possible then use a parallel activity with clicks on required pop ups on one side and macro code on another side of parallel

cheers

hi @shenyu

Check for the element using element exists
if the pop up exists then click

It Helps!

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