Skip to content

How to handle application alerts

This example demonstrates how to handle a browser alert.

In the solution shown below, you will see that the browser alert in Worksoft SaaS Training application is handled using "assertAlert" command. You will need to provide the text present on the alert in the target field.

Solution:
# Command Target Value
Handle the browser alert
1assertAlert I am a JS Alert. 

Tips, Tricks, Gotcha's & Best Practices: 


Feedback and Knowledge Base