The automation execution failed due to a browser dialog obstructing the UI element

Hi All,

I am trying to click ‘OK’ button when a pop up appears. I have used check app state and the bot is able to detect Pop up message. When it tries to Click "It throws error “The automation execution failed due to a browser dialog obstructing the UI element.” I tried changing selector and click mode to Hardware also but its not working

image

@marina.dutta

  1. Is it detecting the pop up first?
  2. Can you try using a separate use app/browser for the pop up and check if that suffices
  3. Also aimulate or window messages is better in the situation of ibstruction error

Cheers

@marina.dutta,

Use another Use Application/Browser activity and indicate the Popup.
Inside this activity use Click activity to click on the Ok button. You can enable Continue on error for Click Ok button activity so if the popup doesn’t appear, your bot will not break.

Thanks,
Ashok :slight_smile:

@Anil_G

Its detecting the pop up.

Simulate click worked for it.

1 Like

@marina.dutta

Glad it helped

Happy Automation

Cheers

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