Version 6.3.0 (Beta)

releases

#21

Hi @Noor_Yeaser_Khan,

Please run the test case with this script:

Mobile.startExistingApplication(“package_name”)

let KS ends the test with failed message like:

Driver info: driver.version: SwipeableAndroidDriver remote stacktrace: 

and share us the execution log.


#22

Hi @duyluong

Here is the execution log:
SLF4J: The requested version 1.7.16 by your slf4j binding is not compatible with [1.6]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
2019-08-06 21:22:25.981 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2019-08-06 21:22:26.032 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/TC03_CreatePublicMsgWTextUsingYTVPhrase
2019-08-06 21:22:28.065 DEBUG .TC03_CreatePublicMsgWTextUsingYTVPhrase - 1: startExistingApplication(“net.lylink.dev”)
2019-08-06 21:22:29.232 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Unable to start app with application ID: ‘net.lylink.dev’ (Root cause: java.lang.NullPointerException
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.createCapabilities(MobileDriverFactory.java:211)
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:342)
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory$startMobileDriver.call(Unknown Source)
at com.kms.katalon.core.mobile.keyword.builtin.StartExistingApplicationKeyword$_startApplication_closure1.doCall(StartExistingApplicationKeyword.groovy:40)
at com.kms.katalon.core.mobile.keyword.builtin.StartExistingApplicationKeyword$_startApplication_closure1.doCall(StartExistingApplicationKeyword.groovy)
at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.runKeyword(MobileKeywordMain.groovy:21)
at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain$runKeyword.call(Unknown Source)
at com.kms.katalon.core.mobile.keyword.builtin.StartExistingApplicationKeyword.startApplication(StartExistingApplicationKeyword.groovy:43)
at com.kms.katalon.core.mobile.keyword.builtin.StartExistingApplicationKeyword.execute(StartExistingApplicationKeyword.groovy:34)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:56)
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords.startExistingApplication(MobileBuiltInKeywords.groovy:88)
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords$startExistingApplication.call(Unknown Source)
at TC03_CreatePublicMsgWTextUsingYTVPhrase.run(TC03_CreatePublicMsgWTextUsingYTVPhrase: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:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
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 TempTestCase1565104937062.run(TempTestCase1565104937062.groovy:21)
)
2019-08-06 21:22:29.424 ERROR c.k.katalon.core.main.TestCaseExecutor - :x: Test Cases/TC03_CreatePublicMsgWTextUsingYTVPhrase FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to start app with application ID: ‘net.lylink.dev’ (Root cause: java.lang.NullPointerException
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.createCapabilities(MobileDriverFactory.java:211)
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:342)
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory$startMobileDriver.call(Unknown Source)
at com.kms.katalon.core.mobile.keyword.builtin.StartExistingApplicationKeyword$_startApplication_closure1.doCall(StartExistingApplicationKeyword.groovy:40)
at com.kms.katalon.core.mobile.keyword.builtin.StartExistingApplicationKeyword$_startApplication_closure1.doCall(StartExistingApplicationKeyword.groovy)
at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.runKeyword(MobileKeywordMain.groovy:21)
at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain$runKeyword.call(Unknown Source)
at com.kms.katalon.core.mobile.keyword.builtin.StartExistingApplicationKeyword.startApplication(StartExistingApplicationKeyword.groovy:43)
at com.kms.katalon.core.mobile.keyword.builtin.StartExistingApplicationKeyword.execute(StartExistingApplicationKeyword.groovy:34)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:56)
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords.startExistingApplication(MobileBuiltInKeywords.groovy:88)
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords$startExistingApplication.call(Unknown Source)
at TC03_CreatePublicMsgWTextUsingYTVPhrase.run(TC03_CreatePublicMsgWTextUsingYTVPhrase: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:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
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 TempTestCase1565104937062.run(TempTestCase1565104937062.groovy:21)
)
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:50)
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.internal.MobileKeywordMain$runKeyword.call(Unknown Source)
at com.kms.katalon.core.mobile.keyword.builtin.StartExistingApplicationKeyword.startApplication(StartExistingApplicationKeyword.groovy:43)
at com.kms.katalon.core.mobile.keyword.builtin.StartExistingApplicationKeyword.execute(StartExistingApplicationKeyword.groovy:34)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:56)
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords.startExistingApplication(MobileBuiltInKeywords.groovy:88)
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords$startExistingApplication.call(Unknown Source)
at TC03_CreatePublicMsgWTextUsingYTVPhrase.run(TC03_CreatePublicMsgWTextUsingYTVPhrase: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:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
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 TempTestCase1565104937062.run(TempTestCase1565104937062.groovy:21)
Caused by: java.lang.NullPointerException
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.createCapabilities(MobileDriverFactory.java:211)
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:342)
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory$startMobileDriver.call(Unknown Source)
at com.kms.katalon.core.mobile.keyword.builtin.StartExistingApplicationKeyword$_startApplication_closure1.doCall(StartExistingApplicationKeyword.groovy:40)
at com.kms.katalon.core.mobile.keyword.builtin.StartExistingApplicationKeyword$_startApplication_closure1.doCall(StartExistingApplicationKeyword.groovy)
at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.runKeyword(MobileKeywordMain.groovy:21)
… 18 more

2019-08-06 21:22:29.487 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/TC03_CreatePublicMsgWTextUsingYTVPhrase

Thank you so very much for looking into this matter.


#23

@Noor_Yeaser_Khan,

Did you choose Android platform and select a device to run?

Thanks.


#24

@duyluong

Here is it again after connecting:
SLF4J: The requested version 1.7.16 by your slf4j binding is not compatible with [1.6]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
2019-08-06 21:49:57.396 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2019-08-06 21:49:57.445 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/TC03_CreatePublicMsgWTextUsingYTVPhrase
2019-08-06 21:49:59.417 DEBUG .TC03_CreatePublicMsgWTextUsingYTVPhrase - 1: startExistingApplication(“net.lylink.dev”)
2019-08-06 21:50:00.115 INFO c.k.k.c.m.k.i.MobileDriverFactory - User set preference: [‘appWaitActivity’, '’]
2019-08-06 21:50:00.116 INFO c.k.k.c.m.k.i.MobileDriverFactory - User set preference: [‘deviceId’, ‘8UEDU18112007974’]
2019-08-06 21:50:04.796 INFO c.k.k.c.a.driver.AppiumDriverManager - Appium server started on port 55,070
e[35m[Appium]e[39m Welcome to Appium v1.14.1
e[35m[Appium]e[39m Non-default server args:
e[35m[Appium]e[39m port: 55070
e[35m[Appium]e[39m loglevel: info
e[35m[Appium]e[39m chromeDriverPort: 55071
e[35m[Appium]e[39m tmpDir: C:\Users\nyk50\AppData\Local\Temp\Katalon\Appium\Temp1565106600133
e[35m[Appium]e[39m Appium REST http interface listener started on 0.0.0.0:55070
e[35m[HTTP]e[39m e[37m–>e[39m e[37mGETe[39m e[37m/wd/hub/statuse[39m
e[35m[HTTP]e[39m e[90m{}e[39m
e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/status e[39me[32m200e[39m e[90m24 ms - 68e[39m
e[35m[HTTP]e[39m e[90me[39m
e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m
e[35m[HTTP]e[39m e[90m{“desiredCapabilities”:{“appPackage”:“com.android.settings”,“appWaitActivity”:"
",“deviceId”:“8UEDU18112007974”,“deviceName”:“HUAWEI RNE-L22 (Android 8.0.0)”,“platform”:“ANDROID”,“appActivity”:".Settings",“newCommandTimeout”:1800,“platformVersion”:“8.0.0”,“automationName”:“uiautomator2”,“autoGrantPermissions”:true,“platformName”:“Android”,“udid”:“8UEDU18112007974”,“systemPort”:8256},“capabilities”:{“firstMatch”:[{“appium:appActivity”:".Settings",“appium:appPackage”:“com.android.settings”,“appium:appWaitActivity”:"*",“appium:autoGrantPermissions”:true,“appium:automationName”:“uiautomator2”,“deviceId”:“8UEDU18112007974”,“appium:deviceName”:“HUAWEI RNE-L22 (Android 8.0.0)”,“appium:newCommandTimeout”:1800,“platform”:“ANDROID”,“platformName”:“android”,“appium:platformVersion”:“8.0.0”,“appium:systemPort”:8256,“appium:udid”:“8UEDU18112007974”}]}}e[39m
e[35m[BaseDriver]e[39m The capabilities [“deviceId”,“platform”] are not standard capabilities and should have an extension prefix
e[35m[Appium]e[39m Appium v1.14.1 creating new AndroidUiautomator2Driver (v1.33.1) session
e[35m[Appium]e[39m Capabilities:
e[35m[Appium]e[39m deviceId: 8UEDU18112007974
e[35m[Appium]e[39m platform: ANDROID
e[35m[Appium]e[39m platformName: android
e[35m[Appium]e[39m appActivity: .Settings
e[35m[Appium]e[39m appPackage: com.android.settings
e[35m[Appium]e[39m appWaitActivity: *
e[35m[Appium]e[39m autoGrantPermissions: true
e[35m[Appium]e[39m automationName: uiautomator2
e[35m[Appium]e[39m deviceName: HUAWEI RNE-L22 (Android 8.0.0)
e[35m[Appium]e[39m newCommandTimeout: 1800
e[35m[Appium]e[39m platformVersion: 8.0.0
e[35m[Appium]e[39m systemPort: 8256
e[35m[Appium]e[39m udid: 8UEDU18112007974
e[35m[BaseDriver]e[39m The following capabilities were provided, but are not recognized by appium: deviceId, platform.
e[35m[BaseDriver]e[39m Session created with session id: f22e4172-1b0f-4d0c-99ec-5782e8ebf970
e[35m[ADB]e[39m Found 1 ‘build-tools’ folders under ‘C:\Users\nyk50.katalon\tools\android_sdk’ (newest first):
e[35m[ADB]e[39m C:/Users/nyk50/.katalon/tools/android_sdk/build-tools/29.0.1
e[35m[ADB]e[39m Using ‘adb.exe’ from ‘C:\Users\nyk50.katalon\tools\android_sdk\platform-tools\adb.exe’
e[35m[AndroidDriver]e[39m Retrieving device list
e[35m[AndroidDriver]e[39m Using device: 8UEDU18112007974
e[35m[ADB]e[39m Using ‘adb.exe’ from ‘C:\Users\nyk50.katalon\tools\android_sdk\platform-tools\adb.exe’
e[35m[AndroidDriver]e[39m No app sent in, not parsing package/activity
e[35m[ADB]e[39m Using ‘aapt.exe’ from ‘C:\Users\nyk50.katalon\tools\android_sdk\build-tools\29.0.1\aapt.exe’
e[35m[ADB]e[39m Using ‘apksigner.bat’ from ‘C:\Users\nyk50.katalon\tools\android_sdk\build-tools\29.0.1\apksigner.bat’
e[35m[UiAutomator2]e[39m Server packages are going to be (re)installed
e[35m[ADB]e[39m The application at ‘C:\Users\nyk50\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v3.5.1.apk’ is already cached to ‘/data/local/tmp/appium_cache/56abf1bf10f6562619a2dd8fb060718e27c4cb28.apk’
e[35m[ADB]e[39m The installation of ‘appium-uiautomator2-server-v3.5.1.apk’ took 4.238s
e[35m[ADB]e[39m The application at ‘C:\Users\nyk50\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk’ is already cached to ‘/data/local/tmp/appium_cache/bc38a04068b79fe3b459303c28bb4b7103bfb6c9.apk’
e[35m[ADB]e[39m The installation of ‘appium-uiautomator2-server-debug-androidTest.apk’ took 2.094s


#25

I just downloaded the 6.3.0 beta. Unless there extra configuration needed anywhere aside from logging into Kobiton, I can’t use it anymore. I opened my Test Suite, clicked “Run” > Kobiton Device, and the “Job Progress” window opened, but nothing happens. There’s no list of my devices anywhere.
Also, my list of APIs doesn’t load.


#26

Hi @Noor_Yeaser_Khan,

Is this the full of the execution log that you copied from Console? I don’t see any exception or error here. Please start again and wait for KS executions complete.

Thanks


#27

Katalon only shows devices in your favorite devices list. Please add some devices to your favorite list and run again.

Thanks.


#28

Hi @duyluong,

Yes, that is the full execution log from the console. As I said earlier, there is no exception or error. The problem is KS is stuck at the following:
e[35m[ADB]e[39m The installation of ‘appium-uiautomator2-server-debug-androidTest.apk’ took 2.192s

It will not go beyond that line. I have waited for more than 30 mins and it’s still stuck there. Should I downgrade to Appium v1.8.1 from ver. 1.14 and then retry?


#29

@Noor_Yeaser_Khan,

You should start with our Sample Android Project first, try to start app with the sample apk. If appium hangs again, you may downgrade to v1.8.1.

Thanks


#30

Hi @duyluong,

Unfortunately, appium hangs even with the Sample Android Project by KS. Is there any video tutorial showing how to work with this startExistingApplication feature? If yes, then can you kindly share the link? I’d just like to do a quick check if I’m missing anything. Your prompt response will be highly appreciated and your sincere co-ordination is also very much appreciated. Thank you so much @duyluong. You have been a great help!

Regards,
Noor Yeaser Khan


#31

Hi @duyluong. I already have then in favorites, I’ve been using it in 6.2.2 without any issues. Like I mentioned, it’s not related to that. After I click execute and select kobiton devices, nothing happens. The dialogue to choose the devices doesn’t even open


#32

How can this be correct?

04%20AM


#33

My Scripts are not all working on this version. It is getting suspended all the times. This was never a problem on the previous version 6.2.2. I already quoted the errors on the beta version on july 3rd but no one looked upon. Here is the snapshot of the error. I am going back to 6.2.2. Thanks!


#34

I am getting exception while locating test object.
Current Version: 6.3.0
Note : Script was working properly in previous versions.


#35

@ismail.mee @Chintan_Shah1 We are working on a fix. Thank you all for the reports.


#36

Hi @ismail.mee @Chintan_Shah1, please download the latest version 6.3.1 and try again.


#37

@devalex88 @huynguyen Thanks for the Quick response/fix. I downloaded the latest version 6.3.1 and the issue is now resolved and i can able to run my Scripts.


#39

@huynguyen Is this version of Katalon only supports Chrome version 76? My Chrome version is 75 and my test cases are suspended immediately.


#40

Please check “Automatically update webdriver” in Preferences/Katalon/Web UI

Thanks


#41

Hi @Katalon_Studio, @duyluong,

I am not sure anyone has taken into consideration my earlier Beta comment above:

The error is not there anymore but the actual functionality is also gone.
TestObject parametrization does not seem to actually replace the dynamic value in the object attribute.
KS 6.2.0 behaves as expected in this matter, KS 6.3.1 and KS 6.3.0 rc4 & rc7 had this problem.

Please have a look and provide feedback asap. Upgrading is definitely not an option for us.

Maybe I am missing something, but existing behavior should remain, as far as I am concerned.

I would always trade dark mode and other tweaks for no functional regression or for complete and stable Selenium and Appium support in KS.