Press key.
Syntax
Object.Press key
Parameters
Remarks
Press key [key].
Examples
Example:
Press "1"
Presses the "1" key on the device.
Press "VK_TVOLUMEUP"
Presses the device key to increase the volume.
This QTP script will press the shift key, press the "c" key and then release the shift key -> so the result is "C"
MobileDevice("phone").MoWindow("Instellingen").MoObject("Dialog").MoEdit("CAPEDIT").Press "xD0x10"
MobileDevice("phone").MoWindow("Instellingen").MoObject("Dialog").MoEdit("CAPEDIT").Press "0x43"
MobileDevice("phone").MoWindow("Instellingen").MoObject("Dialog").MoEdit("CAPEDIT").Press "xU0x10"
Press "c" - will press the "c" key