История страницы
...
Such browser errors can be handled using the «Dialog Boxes» "Windows, tabs, frames" subgroup under the «Browsers» "Browsers" group.
Let’s consider an example of working with dialog boxes.
In this case study, the robot accesses goes to the debtors debtor registry website, enters information into a field that does not match the expected format that is supposed to be entered there, and then a warning is displayedshown. Требуется замена скриншота
To read information from the error window and close it, use the actions «Get dialog box text» and «Accept dialog box»"Get the alert text" and "Alert accept".
When configuring the «Get Dialog Box Text» "Get the alert text" action, fill in the «Context» "Context" field. As a result, a variable of string type will be obtained.
The «Accept dialog box» "Alert accept" action is suitable for windows with buttons such as «Yes,» "Yes" and the robot should press click it. In this case, the alternative to the «Accept dialog box» "Alert accept" action can be the «Dismiss "Dismiss dialog box» box" action.
After running the robot, the logs will display the text of the «Get "Get dialog box text» text" action: