Book demo Start trial

Testing the Internet - 19. JavaScript alerts


In this video you will learn how to handle the 3 different Javascript alert types: Alert, Confirm and Prompt. In the case of Prompt we also show how to verify the entered result by inspecting an element on the actual page. We have used this test case in the demonstration.

In the video we demonstrate the “Handle Web Alert” building block specially designed to handle the Javascript alerts. The building block will automatically capture any alert and you can specify the action the building block should take: OK or Cancel.

Download sample