Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Supported_os
SupportIOStrue
SupportAndroidtrue

SEO Metadata
titleSeeTest Automation - get Running Applications

This command returns all the running applications on the device.

Description

This command returns all the running applications on the device. (As a String array)

For iOS - returns a list of bundle ID

For Andriod - returns a list of packages



Code Examples

Code Block
languagejava
titleJava Example
linenumberstrue
collapsetrue
 client.getRunningApplications();
Code Block
languagec#
titleC# Example
linenumberstrue
collapsetrue
client.GetRunningApplications();
Code Block
languagevb
titleVBScript Example
linenumberstrue
collapsetrue
client.GetRunningApplications()
Code Block
languagepy
titlePython Example
linenumberstrue
collapsetrue
 self.client.getRunningApplications()
Code Block
languageruby
titleRuby Example
linenumberstrue
collapsetrue
 client.getRunningApplications()