Unable to capure alert boxes in katalon studio in the new version (7.2.1)
Tried all means. Developers please check from your side and revert.
I don’t think that’s true – there are no other reports about your problem.
By the way, 7.2.1 is not the new version. 7.2.5 is due out soon and 7.2.4 is the latest.
I have attached the screenshot and the script for your reference.
The alert is not being captured
import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint
import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase
import static com.kms.katalon.core.testdata.TestDataFactory.findTestData
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject
import static com.kms.katalon.core.testobject.ObjectRepository.findWindowsObject
import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint
import com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords as CucumberKW
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile
import com.kms.katalon.core.model.FailureHandling as FailureHandling
import com.kms.katalon.core.testcase.TestCase as TestCase
import com.kms.katalon.core.testdata.TestData as TestData
import com.kms.katalon.core.testobject.TestObject as TestObject
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
import com.kms.katalon.core.windows.keyword.WindowsBuiltinKeywords as Windows
import internal.GlobalVariable as GlobalVariable
import org.openqa.selenium.Keys as Keys
WebUI.openBrowser(‘’)
WebUI.maximizeWindow()
WebUI.navigateToUrl(‘Tryit Editor v3.7’)
WebUI.click(findTestObject(‘Object Repository/Page_Tryit Editor v36/button_Try it’))
WebUI.waitForAlert(2)
WebUI.verifyAlertPresent(2)
WebUI.acceptAlert(FailureHandling.STOP_ON_FAILURE)
WebUI.delay(5)
Hi Russ,
Can you Please help out here.
We Are really struck and need your urgent help
I don’t know what to suggest other than upgrade. Like I said, I don’t see anyone else with this problem.
Question: when you say “Unable to capture” – is this a Recorder problem? Which recorder? Record Web in Katalon Studio or Katalon Recorder (browser plugin)? In that latter case, you may have posted to the wrong forum.