Katalon Studio v5.8 - It's time for the all-new API testing experience
Hafiz
Katalon Apprentice
08/09/2018

Android - Login button not responsive

Hi. After I start mobile spy, my app loads and shown in Device View screen. But when I click Login Button its not going to next screen. Nothing happens. Below is the trace before my app loads:

[35m[Appium][39m Welcome to Appium v1.8.1
[35m[Appium][39m Non-default server args:
[35m[Appium][39m   port: 50793
[35m[Appium][39m   loglevel: info
[35m[Appium][39m   chromeDriverPort: 50796
[35m[Appium][39m   tmpDir: C:\Users\NoName\AppData\Local\Temp\\Katalon\Appium\Temp1533789530464
[35m[Appium][39m Appium REST http interface listener started on 0.0.0.0:50793
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/status[39m
[35m[HTTP][39m [90m{}[39m
[35m[HTTP][39m [37m<-- GET /wd/hub/status [39m[32m200[39m [90m28 ms - 83[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/status[39m
[35m[HTTP][39m [90m{}[39m
[35m[HTTP][39m [37m<-- GET /wd/hub/status [39m[32m200[39m [90m23 ms - 83[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session[39m
[35m[HTTP][39m [90m{"desiredCapabilities":{"app":"C:\\Users\\NoName\\Documents\\P\\Digital\\Android App\\ABC_SIT_V1.0.apk","autoGrantPermissions":true,"automationName":"uiautomator2","deviceId":"90ecfe83","deviceName":"samsung SM-T825Y (Android 7.0)","fullReset":false,"newCommandTimeout":1800,"noReset":true,"platform":"ANDROID","platformName":"Android","udid":"90ecfe83"},"capabilities":{"desiredCapabilities":{"app":"C:\\Users\\NoName\\Documents\\P\\Digital\\Android App\\ABC_SIT_V1.0.apk","autoGrantPermissions":true,"automationName":"uiautomator2","deviceId":"90ecfe83","deviceName":"samsung SM-T825Y (Android 7.0)","fullReset":false,"newCommandTimeout":1800,"noReset":true,"platform":"ANDROID","platformName":"Android","udid":"90ecfe83"},"firstMatch":[{"platformName":"android"}]}}[39m
[35m[Appium][39m Could not parse W3C capabilities: 'deviceName' can't be blank. Falling back to JSONWP protocol.
[35m[Appium][39m The following capabilities were provided in the JSONWP desired capabilities that are missing in W3C capabilities: ["app","autoGrantPermissions","automationName","deviceId","deviceName","fullReset","newCommandTimeout","noReset","platform","platformName","udid"]. Falling back to JSONWP protocol.
[35m[Appium][39m Creating new AndroidUiautomator2Driver (v1.12.0) session
[35m[Appium][39m Capabilities:
[35m[Appium][39m   app: C:\Users\NoName\Documents\P\Digital\Android App\ABC_SIT_V1.0.apk
[35m[Appium][39m   autoGrantPermissions: true
[35m[Appium][39m   automationName: uiautomator2
[35m[Appium][39m   deviceId: 90ecfe83
[35m[Appium][39m   deviceName: samsung SM-T825Y (Android 7.0)
[35m[Appium][39m   fullReset: false
[35m[Appium][39m   newCommandTimeout: 1800
[35m[Appium][39m   noReset: true
[35m[Appium][39m   platform: ANDROID
[35m[Appium][39m   platformName: Android
[35m[Appium][39m   udid: 90ecfe83
[35m[BaseDriver][39m The following capabilities were provided, but are not recognized by appium: deviceId, platform.
[35m[BaseDriver][39m Session created with session id: 8172706f-c1d0-4b4f-91b8-6dcddb2725fd
[35m[BaseDriver][39m Using local app 'C:\Users\NoName\Documents\P\Digital\Android App\ABC_SIT_V1.0.apk'
[35m[AndroidDriver][39m Java version is: 1.8.0_181
[35m[ADB][39m Checking whether adb is present
[35m[ADB][39m Found 2 'build-tools' folders under 'C:\Users\NoName\.katalon\tools\android_sdk' (newest first):
[35m[ADB][39m     C:/Users/NoName/.katalon/tools/android_sdk/build-tools/28.0.2
[35m[ADB][39m     C:/Users/NoName/.katalon/tools/android_sdk/build-tools/27.0.3
[35m[ADB][39m Using adb.exe from C:\Users\NoName\.katalon\tools\android_sdk\platform-tools\adb.exe
[35m[AndroidDriver][39m Retrieving device list
[35m[AndroidDriver][39m Using device: 90ecfe83
[35m[ADB][39m Using the alternative activity name detection method because of: Could not find apkanalyzer.bat in C:\Users\NoName\.katalon\tools\android_sdk\platform-tools\apkanalyzer.bat,C:\Users\NoName\.katalon\tools\android_sdk\emulator\apkanalyzer.bat,C:\Users\NoName\.katalon\tools\android_sdk\tools\apkanalyzer.bat,C:\Users\NoName\.katalon\tools\android_sdk\tools\bin\apkanalyzer.bat,C:\Users\NoName\.katalon\tools\android_sdk\build-tools\28.0.2\apkanalyzer.bat,C:\Users\NoName\.katalon\tools\android_sdk\build-tools\27.0.3\apkanalyzer.bat. Do you have the Android SDK installed at 'C:\Users\NoName\.katalon\tools\android_sdk'?
[35m[ADB][39m Checking whether aapt is present
[35m[ADB][39m Using aapt.exe from C:\Users\NoName\.katalon\tools\android_sdk\build-tools\28.0.2\aapt.exe
[35m[ADB][39m Extracting package and launch activity from manifest
[35m[ADB][39m Package name: 'com.abc.mobile'
[35m[ADB][39m Main activity name: 'com.abc.mobile.MainActivity'
[35m[ADB][39m Getting device platform version
[35m[ADB][39m Using apksigner.bat from C:\Users\NoName\.katalon\tools\android_sdk\build-tools\28.0.2\apksigner.bat
[35m[ADB][39m Checking whether zipalign is present
[35m[ADB][39m Using zipalign.exe from C:\Users\NoName\.katalon\tools\android_sdk\build-tools\28.0.2\zipalign.exe
[35m[ADB][39m io.appium.uiautomator2.server was successfully uninstalled
[35m[ADB][39m io.appium.uiautomator2.server.test was successfully uninstalled
[35m[AndroidDriver][39m setDeviceLanguageCountry requires language or country.
[35m[AndroidDriver][39m Got language: 'null' and country: 'null'
[35m[ADB][39m Successfully extracted 99 strings from 'C:\Users\NoName\Documents\P\Digital\Android App\ABC_SIT_V1.0.apk' resources for '(default)' configuration
[35m[UiAutomator2][39m Starting uiautomator2 server 1.12.0
[35m[UiAutomator2][39m Using UIAutomator2 server from 'C:\Users\NoName\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' and test from 'C:\Users\NoName\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[35m[UiAutomator2][39m Running command: 'adb -s 90ecfe83 shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner'
[35m[UiAutomator2][39m Waiting up to 20000ms for UiAutomator2 to be online...
[35m[AndroidDriver][39m Screen already unlocked, doing nothing
[35m[UiAutomator2][39m UiAutomator2 did not start the activity we were waiting for, 'com.abc.mobile/com.abc.mobile.MainActivity'. Starting it ourselves

Upvote
Quote

Comments

Sign In or Register to comment.