Simulating keyboards and special keys actions on Web and native application windows
When you record a test, you can simulate keyboard or special keys actions on web and
native application windows, or navigation dialog boxes on browsers on Windows operating system. To
simulate these actions, you can add the navigation action PressKey or
InputKeys to the test script. Starting from HCL OneTest™ UI V9.2.1.1
of the product, you must enter the values in the correct format.
Before you begin
- You must have created a Web UI test from a recording.
- The test script must be open in the test editor.
Restriction:
- PressKey and InputKey are not supported on Mac operating system.
- Only basic key combinations such as [CTRL]+[A], [CTRL]+[C], [CTRL]+[V] that are executed in browsers are supported.
- New key combinations are not displayed in test scripts recorded with versions earlier to V9.2.1.1. If you want to benefit from the new key combinations in existing test scripts, you must remove the existing test steps and add new steps.
- Double-byte characters are not supported.
- PressKey and InputKey and any other actions that
use Robot APIs are not supported in the following scenarios:
- Screen is locked
- Application being tested is minimized
- Remote desktop window is minimized
This restriction is applicable irrespective of whether you initiate the execution from the product, command-line interface, or any integrations that invoke the test.

