Enter Text

The Enter Text activity adds a text to the selected interface element. For example, you can use it to enter any text (login, password, classification names, dates etc.) into the selected field. Or you can insert context variable values into the selected screen form. If the element is not selected immediately after opening a window, click on it oк use the Tab key to switch to the required element.

начало внимание

The activity cannot be used if the process does not contain at least one context variable.

конец внимание

Activity settings

Activity settings are configured automatically when recording a process.

For example, let's change the font size in the Notepad application.

  1. Open Notepad in recording mode, go to font settings, and click the size field.
  2. Call the radial menu by pressing the Ctrl+Alt+Q combination, which is set by default. You can change this combination in the designer settings.
  3. Click the 68 icon and select the Font size variable. You can select it from the list or add a new one by clicking Create parameter.

paste size

After saving the process, the Enter Text activity will be added to the process diagram.

You can change the configured settings if you need. To open the settings window, click on the activity on the process diagram.

Parameters Tab

The Parameters tab displays the basic activity parameters:

enter text parameters tab

  • Name. The activity name on the process diagram. Its name is set by default when adding the activity. You can change the name in this field;
  • Value. Template for entering text in the selected interface element. The template can contain text and values of process context variables. Click the add variables button button and select a variable. The added variables are displayed as {$variable name}. You can fill in the field manually, following the same format. Read more about the process context variables in the Process context article.

You can apply strings and types formatting to the variables. Every variable will be displayed according to the specified format. Read more about formatting at the Microsoft official site.

Examples of variable formatting

Conditions Tab

Read more about the Conditions tab in the Basic activity settings principles article.

Let's display the previously created text using the Notepad program. The values of the added context variables will be displayed according to the template specified in the Value field.

notepad example

Found a typo? Highlight the text, press ctrl + enter and notify us