UiPath not able to detect Windows Alert Box



I am automating Service Now. While resolving any incident, the browser throws a Windows alert where I have to click on “OK”.

I have tried using Click activities, recorders, send hotkeys, but the UIPath recorder just hangs and is not able to recognize the OK button in the windows alert. And the process cannot go further without hitting OK.

Any ideas how to solve this issue? Anybody facing a similar issue?


Seems likely that the selector is changing when the window is created.

Can you post the selector here?


Can you share the selector of the alert box and the ok button on it.