How to handle pop-up windows in modern uiautomation

Hi!
So I am using modern activities with the SAP automation on browser. I have this pop-up window that I want to click.


I put the check app state outside the Use Application/Browser as it won’t load or recognize the pop-up since it’s outside of the scope.
I was able to identify correctly but the problem is, I can’t use click activity.

Since it’s modern, it requires me to put it inside the Use Application/Browser. I tried to do so, but it can’t identify the pop-up windows and could only see the SAP window on the back. Is there a work around here?

@RGTaffy,

In modern approach add use application browser inside your existing one and use click activity should work.

Another approach is to use classic Click activity to click on Ok button directly. Classic activities are not going to deprecated anytime soon so it’s ok to use.

1 Like

Thank you for the suggestion. Adding another use app/browser did not work for me. I guess I’ll have to either use classic or other method of closing pop-ups.

1 Like

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