Use the Send Keys component
-
- UpdatedJan 30, 2025
- 5 minutes to read
- Washington DC
- RPA Hub
Send text to fields in web pages, Windows applications, or the Windows desktop using the Send Keys component in RPA Desktop Design Studio. Use the component to enter data to fields such as text boxes and lists and to send special keys such as Shift, Control, F1, and F2.
Before you begin
Role required: none
About this task
You can use the Send Keys component in situations where the Set Text component does not work or in any application where you need to send keyboard shortcuts or special functions via the keyboard.
You can use the Action Set Send Keys action to send keyboard shortcuts, regular text, or a combination of both. Enter key combinations in one set of square brackets per key combination as shown below. Any keys used in
combination will be sent together as if simultaneously pressed. Keys outside brackets are sent in the order they appear in the input string. For example, the following sequence replaces text in a text box by selecting all the
text (CTRL + A), sending the delete key, and then entering the regular text “ServiceNow”: [ctrl+a][del]ServiceNow
To see all the supported special keys and functions, click Supported keys and functions.
Many properties of the Send Keys component are common with other Actions UI components, to configure these properties, see Properties of Actions (UI) components.
Property | Description |
---|---|
Input Type | Type of keyboard input sent to the application. The default
input is SendInput.
|
Procedure
Example: Submit employee name in a badging app
The Send Keys component has captured the Badging app image. Now, the user sends the
keys "Abel Tuter" to the component. The green plus icon () is the location where the text will be entered. Now, run the
component.
As the user runs the component, the text "Abel Tuter" are typed in the Name field.
Use the Send Keys component to click the Print Badge button and run the component. The employee name is submitted for badging.