Skip to main content

GetRunningApplications

Description

This command returns all the running applications on the device as a String array.

info

For iOS, this returns a list of bundle IDs. For Android, this returns a list of packages.

Usage

info

Replace <server> with the appropriate URL.

Example

GetRunningApplications

DesiredCapabilities dc = new DesiredCapabilities();
driver = new AndroidDriver(new URL("<server>"), dc);
seetest = new SeeTestClient(driver);
dc.setCapability(MobileCapabilityType.UDID, "<deviceid>");

...
...
//Gets the RunningApplications
seetest.getRunningApplications();