Alert accept Version 10 (Java)
Description
This action simulates agreement with the dialog box (IConfirm)
Action icon
Action parameters
Input parameters
"Context" field - action context for working with the browser.
Settings
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Action context for working with the browser. | Robin.Selenium | Browser context | Yes |
Special conditions of use
None.
Example of use
Task
Go to website https://old.bankrot.fedresurs.ru/backoffice/Login.aspx, click "Log in", accept alert.
Solution
Use the "Open browser", "Send click", "Alert accept", "Close browser" actions.
Implementation
- Assemble a robot scheme with the actions:
- Set the "Open browser" action parameters.
- Set the "Send click" action parameters. To create an element use WebSpy (see section Creating Web-elements).
- Set the "Alert accept" action parameter.
- Set the "Close browser" action parameter.
- Click "Start" in the top panel.
Result
The program robot completed successfully.
Обзор
Инструменты контента