Type Into Activity
The Type Into activity simulates keyboard input into a specific UI element within a native Windows desktop application, such as a text box.
| Field | Description | Requirement |
|---|---|---|
| Application instance | The reference name of the application instance previously opened or attached. | Required |
| Element | The JSON-based selector identifying the target element (e.g. {"Name":"OK","ControlType":"Button"}). | Required |
| Label | An alternative to Element that identifies the target by label instead of a selector. | Optional |
| Label match type | Defines how Label is compared against candidate elements (e.g., Equals, Contains). | Optional |
| Text | The text to type into the target element. Can include macro keys such as {ENTER}, {TAB}, {CTRL+A}. | Required |
| Key action | The key event to simulate (keyup or keydown), for low-level key state control. | Optional |
| Clear | If enabled, clears the target element's existing content before typing. | Optional |
Action Types & Examples
Text Input
- Format: string
- Example Result: "Robusta automation{ENTER}"
Implementation Examples
Field Setup - Application instance: ${appInstance} - Element: {"Name":"UserName","ControlType":"Edit"} - Text: Robusta automation{ENTER} - Clear: true
Execution Parameters - Key action: keydown
Technical Notes
LabelandLabel match typeprovide an alternative toElementfor identifying the target, useful when a stable selector is not available. Macro keys such as{ENTER}or{TAB}can be embedded directly inTextto simulate special key presses after typing;Key actionis a separate, lower-level control over key up/down state and is not required for typical typing scenarios.