Supported keyboard and mouse actions
Rational® Functional Tester supports the basic keyboard and mouse actions that you can perform while recording a Windows test.
You can record actions on certain controls by performing the following
tasks:
To record the action | You must... |
---|---|
Hover over a control | Move the cursor over the control, and then press the left Shift key once. |
Right-click a control | Move the cursor over the control, and then right-click the control. |
Drag a control | Move the cursor over the control, and then drag the control. |
Double-click a control | Move the cursor over the control, and then double-click the control. |
Tip: During the
recording of any Windows application, for certain context menus with multiple
submenus or dialog boxes, the actions that you perform on these controls might
not be recorded correctly. To overcome this issue, you can manually add the
navigation actions such as presskey and
inputkey to the generated test. You can provide the
keyboard strokes to the navigation actions. For more information about the
navigation actions, see Simulating keyboards and special keys actions on Web and native application windows.
The following keyboard keys are supported for a Windows test:
- Keypress
- Ctrl+Shift+<char>
- Ctrl+Tab
- Shift+<char>
- Alt+Tab
- Ctrl+P
- Ctrl+N
- F1-F12 (with special keys)
- PgUp
- PgDn
- Enter
- Esc
- Arrow keys (Up/Down/Left/Right keys with special keys)
- Home/End/Insert/Delete (with special keys)