Legacy | Uninstall application
-
Command: application
-
Subcommand: uninstall
-
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, iOS
Description
Removes a single application from the device. You can remove a single application or all applications from the device, returning the device to its out-of-the-box state. For more information on removing all applications, refer to the Uninstall applications command.
To use this command, an application identifier is required. For information on retrieving the application identifier, see Application identifier.
Parameters
Name | Value | Default | Description |
---|---|---|---|
deviceId* | The device for this command. | ||
name | The application name as it is displayed on the device screen. | ||
identifier | The identifier of the application. |
* Mandatory parameter
Request & Response
Request
https://mycloud.perfectomobile.com/services/executions/?operation=command&securityToken=value&command=application&subcommand=uninstall¶m.deviceId=570E7512
JSON response
{
"reason" : "Success",
"timer.elapsed" : "3485",
"returnValue" : "<result><status result=\"OK\"><description code=\"1\" status=\"OK\">handset server: application: com.bloomfire.android.perfecto description: null launchIdentifier: </description></status><duration>3473</duration><pending-time>0</pending-time></result>",
"testGridReportUrl" : "https://mycloud.reporting-stg.perfectomobile.com?externalId[0]=samb@perfectomobile.com_controller_16-11-06_14_43_06_35",
"description" : "Success",
"timer.system" : "0",
"completed" : "true",
"flowEndCode" : "SUCCEEDED",
"executionId" : "samb@perfectomobile.com_controller_16-11-06_14_43_06_35",
"timer.ux" : "3485",
"singleTestReportUrl" : "https://mycloud.perfectomobile.com/nexperience/singletest/report/?reportRepositoryKey=PRIVATE:controller/161106/controller_16-11-06_14_43_06_35.xml&ownerId=samb@perfectomobile.com&sharingCode=36fb10bb-06ec-4364-b815-c0a6488e0f6b",
"reportKey" : "PRIVATE:controller/161106/controller_16-11-06_14_43_06_35.xml",
"timer.device" : "3485"}