Description
Types text in the active application and object on the connected mobile device.
Declaration
TestObj.Keys(Keys)
TestObj | A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section | |||
Keys | [in] | Required | String | |
Result | None |
Applies To
All mobile devices and tested mobile objects
View Mode
To view this method in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Parameters
The method has the following parameter:
Keys
The text to type. It can include special keys from the following table:
|
|
All constants (F1 , PageDown , X , P , etc.) are case-sensitive. |
Result Value
None.
Remarks
-
By default, the
Keys
method supports only Latin characters on Android devices. To simulate input of other character sets, use theunicodeKeyboard
andresetKeyboard
capabilities when opening a testing session on your mobile device. -
On iOS devices, the
Keys
method may fail to simulate pressing special keys, like SHIFT, CTRL, ALT, or Backspace.