Press Key

This action emulates pressing a key on the keyboard.

The found tag can be any tag, that can assume focus and receive keyboard events.

This action is useful for sending key presses, like <TAB>.

Properties

The Press Key action can be configured using the following properties:

Key to press

The key to press.

Predefined

Select from the list. The list of predefined keys contains the most commonly used keys.

Value

Specify a value of the key to press. The value must be one of the Qt key codes in a decimal number. For the key names used by Qt, see the Qt::Key documentation.

Variable

Specify a variable that contains the key code of the key to press. The key code must be one of the Qt key codes in a decimal number.

Expression

Specify an expression.

Converters

Specify a converter.

Focus on element

Focus on the element before pressing the key.

Options

The robot's options can be overridden with the step's own options. An option that is marked with an asterisk in the Options Dialog will override the one from the robot's configuration. All other options will be the same as specified for the robot.