Hi everyone
I am having a serious problem with katalon v10. During the test run, my katalon often hangs at the swipe() method.
After many runs and analysis, I found that this problem occurs when there are many swipe() method in my TestCase or TestSuite, after hanging for about 8 minutes, katalon shoots out the error log. This problem also occurs with method scrollToText() and hideKeyboard().
Below is the error log files .txt. hideKeyboard_Issue_Log.txt (7.7 KB) swipe_Issue_Log.txt (6.3 KB)
I turned on Task Manager during the test run and saw that there were many adbs appearing every time katalon was running. My record was up to 6 adbs. I don’t understand why there were so many adbs appearing
What about the problem with methods Mobile.getDeviceHeight(), Mobile.scrollToText() and Mobile.hideKeyboard()
They have the same problem as methods Mobile.swipe()
@NTTDATAItalia_POnL I use these functions pretty often on real android devices for automation. I am not currently running into this issue and would suggest upgrading your uiautomator2 driver to version 3 or above.
I was running into swipe issues on both iOS and android devices but when upgrading to Katalon v10 and uiautomator2 v3.8.1 I have stopped having those issues.
I updated uiautomator2 to v3.8.1, but this problem still exists
Of course Mobile.swipe() works, but it only works 3-4 times and the 5th time it crashes
My project has a lot of tests that need to use Mobile.swipe(), if it only works a few times, it’s really not good
Sorry for my late response. Can you please try upgrade the version and see if the problem still happens. If no or you do not work on this more, please close the thread. Thank you
The problem still appear, iOS(version 18.3.1) also has the same problem but to a lesser extent. That means the swipe method can run for about 50 times before the application crashes.
There is a strange thing that makes the swipe method take 12s for each run, other methods like hideKeyboard(), getDeviceHeight(), etc are similar. How can it be so long?
Of course the appium and appium driver versions are the latest versions.
Currently for TestSuites that have those methods I have to run on Android 13 and for iOS I have to split the TS
Sorry for my late update. As you are using KS 10.x, you need to upgrade using the uiautomator2 version 3.x. You can use the below command: appium driver install uiautomator2@3.10.0
Also, please note that we don’t yet support the latest version of uiautomator2, version 4.x. Letting me know if it helps. Thank you!