Hello
,
Iām failing to launch Android App using testing.xml parameters.
Iām probably doing something wrong but I canāt figure out what ā¦
My code is looking like this:
try {
client.launch((String) testParams.get(āAppPackageā), false, true);
client.launch((String) testParams.get(āAppActivityā), false, true);
} catch (ClassCastException ignored) {
}
My Testng.xml is looking like this:
parameter name=āAppPackageā value="com.MyAppPackage"
parameter name=āAppActivityā value=".MyAppActivity"
When trying to Run a test also via Testng.xml Iām getting this error:
org.openqa.selenium.WebDriverException: javascript error (javascript error. An unknown server-side error occurred. status=āfalseā. Failed to complete internal method: ālaunch args: [com.MyAppPackage, false, true]ā, details: Failed to launch activity / URL. Launch failed, please verify that the application is installed on the device) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 55.99 seconds