Uninstall application

Command: application

Subcommand: uninstall

Supported Platforms: Native, UFT, Selenium,Appium

Supported OS: Android, iOS

Removes a single application on the device.

Description

To use, the application identifier is required.

It is possible to remove a single application or all applications on the device, returning it to its “out of the box” state. For more information on removing all applications, refer to the Uninstall applications function.

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&param.deviceId=570E7512
Copy

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"}