Send text to the alert Version 10 (Java)
Description
The action enters text into the dialog box.
Action icon
Parameters and their settings
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Action context for working with the browser. | Robin.Selenium | Browser context | Yes |
Text | The text to send | Robin.String | Yes |
Special conditions of use
None.
Example of use
Task
You need to enter text into the dialog box after clicking on the "Execute code" button.
Solution
Use the actions "Open Browser", "Send Click", "Send text to the alert".
Implementation
- Assemble a robot scheme consisting of actions:
- Set the parameters for the "Open Browser" action.
- Set the parameters for the Send Click action. The element must be captured using WebSpy (see section Create Web-elements).
- Fill in the parameters for the "Send text to the alert" action.
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully. The text is entered into the dialog box.
Обзор
Инструменты контента