Skip to main content

GUI: Web Alert

Description

GUI: Web Alert step gives the functionality of handling java script generated alerts in GUI automation.

tip

All alert handling steps should be added in a workflow before the step which actually triggers an alert. e.g. If a mouse action step opens an alert on page, alert step must be added before that mouse action in a workflow to make it work.

Configurations

No.Field NameDescription
1Web Browser NameYou can select any one Web Browser Name from the given list. Note: Select the same Web Browser Name which was selected in Start Browser Step.
2Alert OperationsSpecify the alert operation to perform from list:
- Default Alert
-Confirm Alert
-Prompt Alert
3OptionsField is enabled for Confirm Alert and Prompt Alert.Field is providing option as: Cancel and Accept.
4ValueThrough this field you can specify the value you want to set in the alert.Note: This field is enabled when Alert Operations is Prompt Alert and Options is Accept.

Alert Operations The following table contains the description of each Alert Operation:

No.Field NameDescription
1Default AlertThis option should be used to handle a default alert which contains a message and only Ok button.
2Confirm AlertThis option should be used to handle a confirm alert which contains a message, Ok and cancel buttons.
3Prompt AlertThis option should be used to handle a confirm Prompt Alert which contains a message, ok and Cancel button.