Unable to Launch Application
If you are unable to launch an application either manually or via test script,
Please make sure that the following conditions are met:
-
The device you are trying to install the application on, has the minimum required operating system version that is configured in the application. i.e. if an application is only compatible with iOS 10 and above, make sure to install it on iOS 10 and above devices only.
-
The applications are built in debug configuration. Any application that is built in production or distribution configuration might fail to install. See the resources below to learn how to build your application in debug configuration.
-
If you are trying to launch the application during an automated test:
-
Make sure that the application was added to your project.
-
In the capabilities, make sure to add cloud: before the bundle id or app package. This should install the application on the device before the test starts:
Capabilities with Cloud: key
// Android
dc.setCapability(MobileCapabilityType.APP, "cloud:com.experitest.eribank/com.experitest.ExperiBank.LoginActivity");
// iOS
dc.setCapability(MobileCapabilityType.APP, "cloud:com.experitest.ExperiBank"); -
In the capabilities, make sure to specify the correct app package, app activity or bundle id:
Correct App Package
// Android
dc.setCapability(AndroidMobileCapabilityType.APP_PACKAGE, "com.experitest.ExperiBank");
dc.setCapability(AndroidMobileCapabilityType.APP_ACTIVITY, ".LoginActivity");
// iOS
dc.setCapability(IOSMobileCapabilityType.BUNDLE_ID, "com.experitest.ExperiBank");
-