Katalon Studio version 6.2.0.rc1 with experimental support for iOS 12.2 and Xcode 10.2


#1

Katalon Studio version 6.2.0.rc1 with experimental support for iOS 12.2 and Xcode 10.2.

https://s3.amazonaws.com/katalon/release-beta/6.2.0.rc1/Katalon+Studio.app.zip
https://s3.amazonaws.com/katalon/release-beta/6.2.0.rc1/Katalon+Studio.dmg
https://s3.amazonaws.com/katalon/release-beta/6.2.0.rc1/Katalon_Studio_Linux_64-6.2.0.tar.gz
https://s3.amazonaws.com/katalon/release-beta/6.2.0.rc1/Katalon_Studio_Windows_32-6.2.0.zip
https://s3.amazonaws.com/katalon/release-beta/6.2.0.rc1/Katalon_Studio_Windows_64-6.2.0.zip

Support iOS 12.2 and Xcode 10.2

Changes and Improvements:

General

  • Update selenium-standalone-server from 3.7.1 to 3.141.59

Mobile

  • Update appium-java-client from 5.0.0 to 7.0.0
  • Support appium v1.12.1
  • Support iOS 12.2 and Xcode 10.2
  • Remove embedded carthage, libimobiledevice, and ios-deploy

Requirement for testing iOS application 12.2

  • Appium v1.12.1
  • Xcode 10.2 for iOS 12.2
  • Carthage 0.31.2
  • ios-deploy 1.9.4
  • ios-webkit-debug-proxy 1.8.3
  • libimobiledevice 1.2.0
  • usbmuxd 1.0.10

Instruction for installing Appium v1.11.1 and other requirements:

Install appium:

npm install -g appium@1.12.1

Install homebrew:

Install carthage

brew install carthage

Install ios-deploy

brew install ios-deploy

Install libimobiledevice

brew install libimobiledevice

Install usbmuxd

brew install usbmuxd

Install ios-webkit-debug-proxy

brew install ios-webkit-debug-proxy

Install WebDriverAgent


Unable to Capture objects | ExecutionException | java.lang.NullPointerException
Error build to XCode "RoutingHTTPServer/RoutingConnection.h" file not found
Error build to XCode "RoutingHTTPServer/RoutingConnection.h" file not found
Katalon test case wont run on iPad simulator
#5

#6

#7

Custom timeouts (specified when calling a keyword, e.g. tap) do not work. If i use Mobile.tap() with a timeout of 5 seconds and FailureHandling.OPTIONAL, it will wait the whole timeout of 30 seconds.


#8

Hello,

I tested the new release since our focus is on the iOS 12.2 and XCode 10.2, The first step was to confirm 6.2.0 rc1 works with Android and Appium Desktop 1.12.1. After installing Appium Desktop 1.12.1 I executed the Android Demo app Verify Last Items In List. The application failed to start. We use Appium desktop instead of installing via NPM. Is the desktop version support with 6.2.0 RC1?

Thank you, Paul

The details on my testing are shown below:
I am working with the Katalon 6.2.0 RC1 and found that using Appium Desktop 1.6.1 installed from the Appium site ( https://github.com/appium/appium-desktop/releases/tag/v1.6.1 ) that the Demo test Verify Last Items In List works on the Android Emulator. When I install Appium Desktop 1.12.1 the application fails to start and presents the information in the table below.

Appium Desktop 1.12.1
04-10-2019 07:53:12 AM Test Cases/Verify Last Items In List

Elapsed time: 27.199s

Test Cases/Verify Last Items In List FAILED.

Reason:

com.kms.katalon.core.exception.StepFailedException: Unable to start app at: β€˜C:\Users\pkanaris\Katalon Studio\Katalon_Android_sample.prj\androidapp\APIDemos.apk’ (Root cause: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output.

Build info: version: β€˜3.141.59’, revision: β€˜e82be7d358’, time: β€˜2018-11-14T08:25:53’

System info: host: β€˜KSD-FG6J7UQ’, ip: β€˜10.119.120.119’, os.name: β€˜Windows 10’, os.arch: β€˜amd64’, os.version: β€˜10.0’, java.version: β€˜1.8.0_181’

Driver info: driver.version: SwipeableAndroidDriver

remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output.

at getResponseForW3CError (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:826:9)

at asyncHandler (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\protocol\protocol.js:447:37)

Build info: version: β€˜3.141.59’, revision: β€˜e82be7d358’, time: β€˜2018-11-14T08:25:53’

System info: host: β€˜KSD-FG6J7UQ’, ip: β€˜10.119.120.119’, os.name: β€˜Windows 10’, os.arch: β€˜amd64’, os.version: β€˜10.0’, java.version: β€˜1.8.0_181’

Driver info: driver.version: SwipeableAndroidDriver

at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208)

at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)

at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)

at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)

at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)

at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)

at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)

at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.execute(SwipeableAndroidDriver.java:1)

at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)

at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)

at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:38)

at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:84)

at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:94)

at io.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:95)

at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.<init>(SwipeableAndroidDriver.java:19)

at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:462)

at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:446)

at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:392)

at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:283)

at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword$_startApplication_closure1.doCall(StartApplicationKeyword.groovy:49)

at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword$_startApplication_closure1.call(StartApplicationKeyword.groovy)

at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.runKeyword(MobileKeywordMain.groovy:21)

at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword.startApplication(StartApplicationKeyword.groovy:51)

at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword.execute(StartApplicationKeyword.groovy:40)

at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:56)

at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords.startApplication(MobileBuiltInKeywords.groovy:74)

at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords$startApplication.call(Unknown Source)

at Verify Last Items In List.run(Verify Last Items In List:16)

at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)

at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)

at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:342)

at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:333)

at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:312)

at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:304)

at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:238)

at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)

at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)

at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)

at TempTestCase1554897188357.run(TempTestCase1554897188357.groovy:21)

Caused by: java.lang.reflect.InvocationTargetException

at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)

at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)

at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)

at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)

at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)

at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)

at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)

at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.execute(SwipeableAndroidDriver.java:1)

at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)

at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)

at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:38)

at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:84)

at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:94)

at io.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:95)

at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.<init>(SwipeableAndroidDriver.java:19)

at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:462)

at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:446)

at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:392)

at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:283)

at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword$_startApplication_closure1.doCall(StartApplicationKeyword.groovy:49)

at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword$_startApplication_closure1.call(StartApplicationKeyword.groovy)

at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.runKeyword(MobileKeywordMain.groovy:21)

at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword.startApplication(StartApplicationKeyword.groovy:51)

at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword.execute(StartApplicationKeyword.groovy:40)

at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:56)

at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords.startApplication(MobileBuiltInKeywords.groovy:74)

at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords$startApplication.call(Unknown Source)

at Script1529986164129.run(Script1529986164129.groovy:16)

… 11 more

Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output.

Build info: version: β€˜3.141.59’, revision: β€˜e82be7d358’, time: β€˜2018-11-14T08:25:53’

System info: host: β€˜KSD-FG6J7UQ’, ip: β€˜10.119.120.119’, os.name: β€˜Windows 10’, os.arch: β€˜amd64’, os.version: β€˜10.0’, java.version: β€˜1.8.0_181’

Driver info: driver.version: SwipeableAndroidDriver

remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output.

at getResponseForW3CError (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:826:9)

at asyncHandler (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\protocol\protocol.js:447:37)

at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)

at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)

at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)

at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)

… 39 more

)

at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:48)

at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.stepFailed(MobileKeywordMain.groovy:40)

at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.runKeyword(MobileKeywordMain.groovy:23)

at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword.startApplication(StartApplicationKeyword.groovy:51)

at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword.execute(StartApplicationKeyword.groovy:40)

at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:56)

at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords.startApplication(MobileBuiltInKeywords.groovy:74)

at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords$startApplication.call(Unknown Source)

at Verify Last Items In List.run(Verify Last Items In List:16)

at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)

at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)

at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:342)

at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:333)

at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:312)

at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:304)

at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:238)

at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)

at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)

at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)

at TempTestCase1554897188357.run(TempTestCase1554897188357.groovy:21)

Caused by: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output.

Build info: version: β€˜3.141.59’, revision: β€˜e82be7d358’, time: β€˜2018-11-14T08:25:53’

System info: host: β€˜KSD-FG6J7UQ’, ip: β€˜10.119.120.119’, os.name: β€˜Windows 10’, os.arch: β€˜amd64’, os.version: β€˜10.0’, java.version: β€˜1.8.0_181’

Driver info: driver.version: SwipeableAndroidDriver

remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output.

at getResponseForW3CError (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:826:9)

at asyncHandler (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\protocol\protocol.js:447:37)

Build info: version: β€˜3.141.59’, revision: β€˜e82be7d358’, time: β€˜2018-11-14T08:25:53’

System info: host: β€˜KSD-FG6J7UQ’, ip: β€˜10.119.120.119’, os.name: β€˜Windows 10’, os.arch: β€˜amd64’, os.version: β€˜10.0’, java.version: β€˜1.8.0_181’

Driver info: driver.version: SwipeableAndroidDriver

at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208)

at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)

at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)

at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)

at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)

at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)

at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)

at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.execute(SwipeableAndroidDriver.java:1)

at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)

at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)

at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:38)

at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:84)

at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:94)

at io.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:95)

at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.<init>(SwipeableAndroidDriver.java:19)

at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:462)

at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:446)

at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:392)

at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:283)

at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword$_startApplication_closure1.doCall(StartApplicationKeyword.groovy:49)

at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword$_startApplication_closure1.call(StartApplicationKeyword.groovy)

at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.runKeyword(MobileKeywordMain.groovy:21)

… 17 more

Caused by: java.lang.reflect.InvocationTargetException

at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)

at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)

at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)

at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)

at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)

at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)

at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)

at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.execute(SwipeableAndroidDriver.java:1)

at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)

at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)

at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:38)

at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:84)

at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:94)

at io.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:95)

at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.<init>(SwipeableAndroidDriver.java:19)

at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:462)

at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:446)

at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:392)

at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:283)

at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword$_startApplication_closure1.doCall(StartApplicationKeyword.groovy:49)

at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword$_startApplication_closure1.call(StartApplicationKeyword.groovy)

at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.runKeyword(MobileKeywordMain.groovy:21)

at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword.startApplication(StartApplicationKeyword.groovy:51)

at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword.execute(StartApplicationKeyword.groovy:40)

at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:56)

at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords.startApplication(MobileBuiltInKeywords.groovy:74)

at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords$startApplication.call(Unknown Source)

at Script1529986164129.run(Script1529986164129.groovy:16)

… 11 more

Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output.

Build info: version: β€˜3.141.59’, revision: β€˜e82be7d358’, time: β€˜2018-11-14T08:25:53’

System info: host: β€˜KSD-FG6J7UQ’, ip: β€˜10.119.120.119’, os.name: β€˜Windows 10’, os.arch: β€˜amd64’, os.version: β€˜10.0’, java.version: β€˜1.8.0_181’

Driver info: driver.version: SwipeableAndroidDriver

remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output.

at getResponseForW3CError (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:826:9)

at asyncHandler (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\protocol\protocol.js:447:37)

at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)

at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)

at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)

at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)

… 39 more


#9

Hi,

I am having the same issues as Paul_Kanaris with Win10, npm Appium 1.12.1 and Android.

β€’ Katalon Studio : The instrumentation process cannot be initialized.

β€’ ADB logcat : Permission Denial: starting instrumentation ComponentInfo{io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner} from pid=*** uid=**** not allowed because package io.appium.uiautomator2.server.test does not have a signature matching the target io.appium.uiautomator2.server (I tried to uninstall it manually but it still gives the same error)

I have rollback to npm Appium 1.8.1 and I now get an error only with the version 6.2 when using tapAtPosition (S7 Android 8.0).

device_Height = Mobile.getDeviceHeight()
device_Width = Mobile.getDeviceWidth()

β€’ ERROR c.k.katalon.core.main.TestCaseExecutor - :x: tapAtPosition(device_Height * 0.40, device_Width * 0.50) FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Failed to tap at [1,024, 720] (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command.


#10

Hi @karl

1. Appium upgrade - downgrade

To upgrade or downgrade any appium version on Windows, you should follow these steps:

taskill /IM /F adb.exe
taskill /IM /F node.exe
npm uninstall -g appium
npm install -g appium@<desired_version> //replace the desired_version
npm cache clean --force

Manually remove io.appium.uiautomator2.server.test and io.appium.uiautomator2.server from the device

2. The error

Back to your tapAtPosition error, could you please show us the full stack trace?

Thanks.