Open notifications

Command: notifications

Subcommand: open

Supported Platforms: Native, UFT, Selenium, Appium

Supported OS: Android

Description

Opens the notifications shade. Test for scenarios which use notifications from internal and external apps - how does your app behave when a weather notification comes in?

Parameters

Name Value Default Description
deviceID*     The device for this command.

* Mandatory parameter

Request & Response

Copy

Request

https://qatestlab.perfectomobile.com/services/executions/john@perfectomobile.com_controller_16-12-07_13_52_33_181?operation=command&securityToken=<your_token>&command=notifications&subcommand=open&param.deviceId=2ACB96B8
Copy

JSON response

{
    "reason":"Success",
    "timer.elapsed":"219",
    "returnValue":"true",
    "testGridReportUrl":"https://mycloud.reporting-stg.perfectomobile.com?externalId[0]=john@perfectomobile.com_controller_16-12-07_13_52_33_181",
    "description":"Success",
    "timer.system":"0",
    "completed":"true",
    "flowEndCode":"SUCCEEDED",
    "executionId":"john@perfectomobile.com_controller_16-12-07_13_52_33_181",
    "timer.ux":"219","singleTestReportUrl":"https://mycloud.perfectomobile.com/nexperience/singletest/report/?reportRepositoryKey=PRIVATE:controller/161207/controller_16-12-07_13_52_33_181.xml&ownerId=john@perfectomobile.com&sharingCode=7c4cb08f-72a0-4a4d-8b5f-76b729497dba",
    "reportKey":"PRIVATE:controller/161207/controller_16-12-07_13_52_33_181.xml",
    "timer.device":"219"}