TypeText Keywords
Below are lists of the following types of TypeText keywords:
- General TypeText Keywords
- TypeText Keywords for Mobile Control
- TypeText Keywords for Apple TV Control
For information about using TypeText keywords, see Typing on the SUT.
General TypeText Keywords
| To press this key... | Type this keyword (without quotation marks) |
|---|---|
| 0, 1…9 (on Keypad) | Keypad0, Keypad1...Keypad9 |
| Alt (Windows; For Mac, use Option) | AltKey |
| Application key (Windows) | ApplicationKey |
| Arrow down | DownArrow |
| Arrow left | LeftArrow |
| Arrow right | RightArrow |
| Arrow up | UpArrow |
| Backslash (\) | Backslash |
| Backspace/Delete | Backspace |
| Begin | BeginKey |
| Command | CommandKey |
| Command down | CommandDown |
| Command up | CommandUp |
| Control | ControlKey |
| Control down | ControlDown |
| Control up | ControlUp |
| Decimal (. on Keypad) | KeypadDecimal |
| Delete forward | DeleteKey |
| Divide (/ on Keypad) | KeypadDivide |
| End | EndKey |
| Enter | Enter |
| Escape | Escape |
| Function keys | f1, f2, …f35 |
| Home | HomeKey |
| Insert | InsertKey |
| Minus (- on Keypad) | KeypadMinus |
| Numlock | NumLock |
| Option | OptionKey |
| Page Down | PageDown |
| Page Up | PageUp |
| Pause/Break | PauseBreak |
| Plus (+ on Keypad) | KeypadPlus |
| Printscreen | PrintScreen |
Return (linefeed / newline / LF)* | Return |
| Scroll Lock | ScrollLock |
| Shift | ShiftKey |
| Shift down | ShiftDown |
| Shift up | ShiftUp |
| Spacebar | Space |
| Tab | Tab |
| Times (* on Keypad) | KeypadTimes |
| Windows | WindowsKey |
| Windows Alt | WindowsAltKey |
| Windows Alt down | WindowsAltDown |
| Windows Alt up | WindowsAltUp |
| All keys (KeyUp command only) | AllKeys |
| All modifier keys (KeyUp command only) | AllModifierKeys |
| All non-modifier keys (KeyUp command only) | AllNonModifierKeys |
ノート
Return is the same as linefeed / newline / LF (Unicode 10). However, Returnkey is the same as CR / CReturn / CarriageReturn (Unicode 13).
先端
Tip: You can also use SenseTalk constants or predefined variables.
TypeText Keywords for Mobile Control
iOS Control Mapping
| iOS control | TypeText keywords |
|---|---|
| Double-press Home Button (This command must be entered as one line. If you use two separate lines, the device registers two separate home button presses, not a double-press.) | HomeButton, HomeButton |
| Home Button | HomeButton |
| Power Button | PowerButton |
| Return (This command hits any iOS return key, i.e., "Go," "Search") | ReturnKey |
| Rotate the screen of the device (This command works with eggOn for iOS 5 and 6 and through iOS Gateway with iOS 7 and 8.) | RotateMobile |
| Volume up | VolumeUpButton, KeypadPlus |
| Volume down | VolumeDownButton, KeypadMinus |
Android Control Mapping
ノート
This is currently available with the VMLite VNC Server, available through the Play store.
| Android control | TypeText keywords |
|---|---|
| Back | EscapeKey |
| Hard Home Key | HomeKeyHomeButton |
| Menu Button | MenuButton |
| Navigation down | DownArrow |
| Navigation left | LeftArrow |
| Navigation right | RightArrow |
| Navigation up | UpArrow |
| Rotate Mobile Device | RotateMobile |
| Scroll through apps | Tab |
| Tap selected app | Return |
| Volume up | KeypadPlus |
| Volume down | KeypadMinus |
Keywords available on Android devices that support these keys:
| Android control | TypeText keywords |
|---|---|
| Application Key | ApplicationKey |
| Back Button | BackButton |
| Dismiss Button | DismissButton |
| Edit Button | EditButton |
| Hard Menu Key | EndKey |
| Power Button | PowerButton |
| Return Key | ReturnKey |
| Unlock Button | PowerButtonUnlockButton |
| Volume Down | VolumeDownButton |
| Volume Up | VolumeUpButton |
Keywords for Apple TV Control
These keywords enable you to mimic pushing buttons on the Apple TV remote control.
| Remote Button | TypeText Keyword |
|---|---|
| Left | LeftArrow |
| Right | RightArrow |
| Up | UpArrow |
| Down | DownArrow |
| Menu | menuButton |
| Select | selectButton |
| Home | homeButton |
| Play/Pause | playButton |