Keyboard Activity
The Keyboard activity enables the automation to input text into the active application window currently in focus on the screen. It simulates physical keyboard strokes to enter static strings or dynamic variables into targeted input fields.
| Field | Description | Requirement |
|---|---|---|
| Text | Specifies the text string or variable to be entered into the active application. Variables must be wrapped in ${} syntax. | Required |
| Press key after typing | Determines which keyboard key is triggered immediately after the text input is completed. | Optional |
| Wait after typing (ms) | Defines the duration, in milliseconds, the system pauses after the typing action is finished. | Optional |
Action Types & Examples
Text Input
- Format: string or variable
- Example Result: "Hello world"
Post-Typing Key
- Format: dropdown selection (NONE, TAB, ENTER)
- Example Result: "TAB"
Post-Typing Delay
- Format: integer (milliseconds)
- Example Result: "500"
Implementation Examples
Field Setup - Static text: Hello world - Variable reference: ${result} - Key selection: ENTER
Execution Parameters - Delay value: 500 - Key selection: NONE
Technical Notes
When using variables within the Text field, ensure they follow the
${variableName}format to be correctly parsed by the Robusta RPA engine. The activity interacts specifically with the element currently holding the system's keyboard focus.