PackageManager Object Methods

Applies to TestComplete 15.20, last modified on January 19, 2022
The information below concerns legacy mobile tests that work with mobile devices connected to the local computer. For new mobile tests, we recommend using the newer cloud-compatible approach.

The PackageManager object contains the following methods:

Method List

Name Description
GetInstalledPackageByName Returns information about a package stored on the device .
GetPackageFromAPK Returns information about a package stored on the local computer.
InstallPackage Installs the specified package on the device.
IsActivePackage Checks if the specified package is currently active on the device.
LaunchPackage Launches the default activity for the specified package installed on the device.
RefreshPackagesInfo Refreshes information about packages installed on the device.
RemovePackage Uninstalls the specified package from the device.

See Also

PackageManager Object Properties

Highlight search results