Please let us know what you are using Katalon Studio for?
I’m testing the Clear Cache link on my page.
My automation is clicking the link and as a result of the click, an alert would normally appear and wait to be accepted.
I would accept the alert and continue on with the rest of the test.
However it seems to appear and disappear straight away, before I can accept it. This is causing the acceptAlert() to fail because the alert is no longer there to be accepted.
How would your work be affected if this issue has not been resolved?
Alerts on other pages are appearing and disappearing as well, before it can be accept it, which is causing my test to fail
Operating System
Windows 10
Katalon Studio Version
version 8.2.0 build 208
Katalon Studio logs
log.txt (205.7 KB)
Screenshots / Videos
2021-11-24_13h32_18.7z (2.6 MB)
In this video you can see something appear in the top left of the screen and then disappear.
Environment (for Web testing):
Microsoft Edge
Version 96.0.1054.29 (Official build) (64-bit)
Chrome
Version 96.0.4664.45 (Official Build) (64-bit)
Steps to reproduce:
create a test case that ensures an alert will appear and acceptAlert
WebUI.waitForAlert(5)
WebUI.acceptAlert()
Expected Behavior:
I expect the WebUI.acceptAlert() to be able to accept the alert when it appears.
I run through the test manually and the alert appears and waits for me to accept it, this is working as expected.
Actual Behavior:
The alert appears and disappears before it can be accepted and causes my test to fail.