Accepting a web browser popup/alert

I am wanting to run a test that will delete a user. When I click on the delete button a popup/alert (that I have attached a screenshot of) is shown. Is there any way that I can click “ok” on this message and successfully delete the user?

popuperror.png

You could try accept alert. Not sure if it will work though.

WebUI.acceptAlert()

acceptAlert will most likely not work

That appears the exact type of dialog box the Alert commands are meant to work on.

WebUI.Alert

I’m having a similar yet different problem. My alert, which funny enough does the same thing - deletes a user, actually causes the browser to close when I’m using the web recorder. ideas?