Best practices for using mobile device manager
This page provides practical guidelines to help you use the mobile device manager efficiently for managing devices and applications.
Improving connection efficiency for emulators and real devices
Follow these steps to speed up connections with local emulators or real devices by skipping the repeated installation of your test application:
-
Open the device in mobile device manager.
noteEnsure the device is either a local emulator or a real device.
-
In the Appium Desired Capabilities section, add the
skipUninstallcapability and set it toTrue. This capability prevents mobile device manager from uninstalling the application when the connection closes, removing the need to reinstall it when reconnecting. -
If you need to test a newer version of the application:
- Set
skipUninstalltoFalsefor the initial connection to allow the application update. - After completing the update, set
skipUninstallback toTrue.
- Set
Improving WebView performance
Use these Appium desired capabilities to optimize the loading of WebView applications or elements on devices in mobile device manager:
- General capabilities:
- Set
skipServerInstallationtoTrue.
- Set
- Android capabilities:
- Set
disableAndroidWatcherstoTrue. - Set
ignoreUnimportantViewstoTrue.
- Set
- iOS capabilities:
- Set
useJSONSourcetoTrue. - Set
shouldWaitForQuiescencetoFalse. - Set
simpleIsVisibleChecktoTrue.
- Set