Web Alert
Description
Web Alert handles JavaScript-generated dialog boxes during a Web GUI [Classic] workflow. Use this step when your automation triggers a browser alert, confirmation, or prompt dialog and you need to accept it, dismiss it, enter a value, or retrieve its message text. It supports four operations: Accept (click OK), Dismiss (close the alert), SetValue (type a response into a prompt), and GetValue (capture the alert text into an output field for use in later steps).
Configurations
| Field Name | Description |
|---|---|
| Web Browser Name | You can select any one Web Browser Name from the given list. Basically, you must select the same Web Browser Name which was selected in Start Browser Step. |
| Alert Operations* | Specify the alert operation to perform |
| Value | By default, this field will be disabled and will be enabled if SetValue alert operation is chosen. Through this field you can specify the value you want to set in the alert. |
| Output field name | By default, the field will be disabled this will be enabled only when you select GetValue alert operation. This allows you to define field name in which alert’s text will be stored. |
*Alert Operations The following table contains the description of each Alert Operation:
| Field Name | Description |
|---|---|
| Accept | Select this option when you want to click “OK/Yes” button of the alert. |
| Dismiss | This option will dismiss the alert which is appeared on the web page. |
| SetValue | If any alert is asking you to enter some value in it you can select this option and specify the value in Value field which is entered in the alert. |
| GetValue | If you want to retrieve alert text, choose this option and it will store the retrieved value in the field you have specified in the Output field name. |