Selecting Pop Up with its Class

Hi, I could not target and select a pop up with its class as it does not have a title or index value.

Right now, I could not make Katalon Recorder click on a button placed on the pop up. It throws the “unknown error”. I tried selectWindow, selectPopUp and focus commands.

Thanks in advance for your help.

If you’re just wanting to click OK or Cancel on the popup window you can use WebUI.acceptAlert() or .dismissAlert() actions.
Otherwise maybe there is something helpful here:

Hi Galina, do commands you provided work in Katalon Recorder as well? They seem to be for Katalon Studio.

Yes they’re for Katalon studio. I usually just add them in script mode.