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 Name | Description |
|---|---|---|
| 1 | Web Browser Name | You 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. |
| 2 | Alert Operations | Specify the alert operation to perform from list: - Default Alert -Confirm Alert -Prompt Alert |
| 3 | Options | Field is enabled for Confirm Alert and Prompt Alert.Field is providing option as: Cancel and Accept. |
| 4 | Value | Through 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 Name | Description |
|---|---|---|
| 1 | Default Alert | This option should be used to handle a default alert which contains a message and only Ok button. |
| 2 | Confirm Alert | This option should be used to handle a confirm alert which contains a message, Ok and cancel buttons. |
| 3 | Prompt Alert | This option should be used to handle a confirm Prompt Alert which contains a message, ok and Cancel button. |