Legacy | Keyboard display
-
Command: keyboard
-
Subcommand: display
-
Supported Platforms: Native (legacy), UFT (legacy), Selenium, Appium
All commands must be executed using the same framework. Sharing the execution ID between different frameworks is not possible. This means that if you work with a Selenium/Appium driver, you need to call the commands using the Selenium/Appium driver (or, in the case of Reporting commands, through the Reporting SDK that works with the driver) and not as part of a UFT test or another framework.
-
Supported OS: Android
Description
Controls the virtual keyboard display that appears when an edit field is selected
Parameters
Name |
Value |
Default |
Description |
---|---|---|---|
deviceId* |
The device for this command. |
||
mode |
off (Off) never (Never) auto (Auto) |
Off |
The virtual keyboard display behaviour. Off - Hide the keyboard for this instance Never - Never display the keyboard Auto - Return to the standard device behaviour |
* Mandatory parameter
Request & Response
Request
https://mycloud.perfectomobile.com/services/executions/john@perfectomobile.com_controller_16-11-08_13_44_00_1095?operation=command&securityToken=<security_token>&command=keyboard&subcommand=display¶m.deviceId=6370E775¶m.mode=off
JSON response
{
"reason":"Success",
"timer.elapsed":"94",
"returnValue":"OK",
"testGridReportUrl":"https://mycloud.reporting-stg.perfectomobile.com?externalId[0]=john@perfectomobile.com_controller_16-11-08_13_44_00_1095",
"description":"Success",
"timer.system":"16",
"completed":"true",
"flowEndCode":"SUCCEEDED",
"executionId":"john@perfectomobile.com_controller_16-11-08_13_44_00_1095",
"timer.ux":"78",
"singleTestReportUrl":"https://mycloud.perfectomobile.com/nexperience/singletest/report/?reportRepositoryKey=PRIVATE:controller/161108/controller_16-11-08_13_44_00_1095.xml&ownerId=john@perfectomobile.com&sharingCode=71a76172-e4d8-4d48-a224-7c618f7f1c37",
"reportKey":"PRIVATE:controller/161108/controller_16-11-08_13_44_00_1095.xml",
"timer.device":"78"}