We have to use appium version 2.0 and remote execution to utilize some of the newer drivers/fixes and I am having trouble starting an existing application on an Android device. On iOS I can just use the startApplication mobile keyword and replace the path string with the bundleId but this doesn’t seem to work on Android (I have not seen the startExisitingApplication work with appium 2.0). I get this appium error:
Original error: The application at 'com.specialized.android.staging' does not exist or is not accessible
With the same desired capabilities I can start the application with this command but it requires manually reading the desired capabilities into a variable every test run:
AppiumDriverManager.createMobileDriver(MobileDriverType.ANDROID_DRIVER, capabilities, new URL("http://localhost:4723"))
It seems that with startApplication Katalon Studio is looking for the apk at the location specified in the string. If I leave the string blank I will still get an error. Is there a way to use a built in keyword to start the android mobile application with appium 2.0 without specifying an apk path and using the appPackage/appActivity desired capabilities instead?
It looks like I am able to running appium v2 with KS 8.5.4.alpha to launch existing apps and .apks on android for both the xcuitest driver and the uiautomator2 driver.
We are delighted to inform you that Katalon Studio version 9.1.0 has just been released which also brings support for Appium 2.x. You can learn more in our announcement topic below:
We will also proceed to close up this topic. Should you encounter any bug whilst using KS 9.1.0, or have any other questions, feel free to create a topic in Bugs Report or Katalon Studio