Alert Actions

AcceptAlert

Use this action to accept alert message displayed on the web page. This action is equivalent to clicking OK button.

CancelAlert

Use this action to cancel alert message displayed on the web page. This action is equivalent to clicking Cancel button.

GetAlertText

Use this action to get text shown on alert window displayed. Text retrieved is stored in a variable for further validation etc.

Property Description
Variable Variable to store text displayed on alert window.
IsAlertDisplayed

Use this action to check whether any alert window is displayed or not.

Property Description
Variable This variable contains boolean value, either true or false indicating whether alert window is displayed or not.