Last active
June 22, 2018 02:00
-
-
Save loveiset/53bc8a1545d77664acbee01f9648c1f8 to your computer and use it in GitHub Desktop.
appium beta log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\hechangshu1 (hechangshu1@1.0.0) | |
λ cappium --session-override | |
[Appium] Welcome to Appium v1.8.2-beta | |
[Appium] Non-default server args: | |
[Appium] sessionOverride: true | |
[Appium] Appium REST http interface listener started on 0.0.0.0:4723 | |
[HTTP] --> POST /wd/hub/session | |
[HTTP] {"capabilities":{"alwaysMatch":{"appium:unicodeKeyboard":"True","appium:resetKeyboard":"True","appium:noReset":false,"appium:noSign":true,"appium:fullReset":false,"appium:automationName":"Uiautomator2","appium:app":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk","appium:deviceName":"1df270ff","appium:nativeWebScreenshot":true,"appium:platformVersion":"7.1.1","appium:chromedriverChromeMappingFile":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver\\chromedriver.json","appium:chromedriverExecutableDir":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver","platformName":"Android","appium:autoGrantPermissions":true,"appium:recreateChromeDriverSessions":true},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"1df270ff","chromedriverChromeMappingFile":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver\\chromedriver.json","recre | |
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"1df270ff","chromedriverChromeMappingFile":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver\\chromedriver.json","recreateChromeDriverSessions":true,"automationName":"Uiautomator2","autoGrantPermissions":true,"noReset":false,"unicodeKeyboard":"True","chromedriverExecutableDir":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver","noSign":true,"nativeWebScreenshot":true,"resetKeyboard":"True","platformVersion":"7.1.1","fullReset":false,"platformName":"Android","app":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk"},null,{"alwaysMatch":{"appium:unicodeKeyboard":"True","appium:resetKeyboard":"True","appium:noReset":false,"appium:noSign":true,"appium:fullReset":false,"appium:automationName":"Uiautomator2","appium:app":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk","appium:deviceName":"1df270ff","appium:nativeWebScreenshot":true,"appium:... | |
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1529631946734 (09:45:46 GMT+0800 (中国标准时间)) | |
[Appium] Creating new AndroidUiautomator2Driver (v1.13.1) session | |
[Appium] Capabilities: | |
[Appium] platformName: Android | |
[Appium] unicodeKeyboard: True | |
[Appium] resetKeyboard: True | |
[Appium] noReset: false | |
[Appium] noSign: true | |
[Appium] fullReset: false | |
[Appium] automationName: Uiautomator2 | |
[Appium] app: D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk | |
[Appium] deviceName: 1df270ff | |
[Appium] nativeWebScreenshot: true | |
[Appium] platformVersion: 7.1.1 | |
[Appium] chromedriverChromeMappingFile: D:\hcs\Documents\workspace\app_auto_android\lib\appbase\driver\tools\chromedriver\chromedriver.json | |
[Appium] chromedriverExecutableDir: D:\hcs\Documents\workspace\app_auto_android\lib\appbase\driver\tools\chromedriver [Appium] autoGrantPermissions: true | |
[Appium] recreateChromeDriverSessions: true | |
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities [object Object] were provided | |
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa... | |
[BaseDriver] Boolean capability passed in as string. Functionality may be compromised. | |
[BaseDriver] Boolean capability passed in as string. Functionality may be compromised. | |
[BaseDriver] Capability 'unicodeKeyboard' changed from string to boolean. This may cause unexpected behavior | |
[BaseDriver] Capability 'resetKeyboard' changed from string to boolean. This may cause unexpected behavior | |
[BaseDriver] Session created with session id: fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2 | |
[BaseDriver] Using local app 'D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk' | |
[debug] [UiAutomator2] Checking whether app is actually present | |
[debug] [AndroidDriver] Getting Java version | |
[AndroidDriver] Java version is: 1.8.0_144 | |
[ADB] Checking whether adb is present | |
[ADB] Found 2 'build-tools' folders under 'D:\hcs\Documents\Android-SDK' (newest first): | |
[ADB] D:/hcs/Documents/Android-SDK/build-tools/27.0.3 | |
[ADB] D:/hcs/Documents/Android-SDK/build-tools/26.0.2 | |
[ADB] Using adb.exe from D:\hcs\Documents\Android-SDK\platform-tools\adb.exe | |
[AndroidDriver] Retrieving device list | |
[debug] [ADB] Trying to find a connected android device | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[AndroidDriver] Looking for a device with Android '7.1.1' | |
[debug] [ADB] Setting device id to 1df270ff | |
[ADB] Getting device platform version | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell getprop ro.build.version.release' | |
[debug] [ADB] Current device property 'ro.build.version.release': 7.1.1 | |
[AndroidDriver] Using device: 1df270ff | |
[debug] [ADB] Setting device id to 1df270ff | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell getprop ro.build.version.sdk' | |
[debug] [ADB] Current device property 'ro.build.version.sdk': 25 | |
[debug] [ADB] Device API level: 25 | |
[debug] [AndroidDriver] Parsing package and activity from app manifest | |
[ADB] Using the alternative activity name detection method because of: Could not find apkanalyzer.bat in D:\hcs\Documents\Android-SDK\platform-tools\apkanalyzer.bat,D:\hcs\Documents\Android-SDK\emulator\apkanalyzer.bat,D:\hcs\Documents\Android-SDK\tools\apkanalyzer.bat,D:\hcs\Documents\Android-SDK\tools\bin\apkanalyzer.bat,D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apkanalyzer.bat,D:\hcs\Documents\Android-SDK\build-tools\26.0.2\apkanalyzer.bat. Do you have the Android SDK installed at 'D:\hcs\Documents\Android-SDK'? | |
[ADB] Checking whether aapt is present | |
[ADB] Using aapt.exe from D:\hcs\Documents\Android-SDK\build-tools\27.0.3\aapt.exe | |
[ADB] Extracting package and launch activity from manifest | |
[ADB] Package name: 'com.crc.hrt' | |
[ADB] Main activity name: 'com.hrt.platform.activity.FlashActivity' | |
[debug] [AndroidDriver] Parsed package and activity are: com.crc.hrt/com.hrt.platform.activity.FlashActivity | |
[ADB] Getting device platform version | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell getprop ro.build.version.release' | |
[debug] [ADB] Current device property 'ro.build.version.release': 7.1.1 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell wm size' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell wm density' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell getprop ro.product.model' | |
[debug] [ADB] Current device property 'ro.product.model': ONEPLUS A5010 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell getprop ro.product.manufacturer' | |
[debug] [ADB] Current device property 'ro.product.manufacturer': OnePlus | |
[debug] [ADB] Device API level: 25 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell am force-stop io.appium.uiautomator2.server' | |
[debug] [ADB] Checking app cert for C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk | |
[ADB] Using apksigner.bat from D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apksigner.bat | |
[debug] [ADB] Starting 'D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apksigner.bat' with args '["verify","--print-certs","C:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v1.12.0.apk"]' | |
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: C=US, O=Android, CN=Android Debug | |
[debug] [ADB] Signer #1 certificate SHA-256 digest: 707bc2493ea5b0267dc10a9bd4cedbab5431976f13274cdd045d93470179556d | |
[debug] [ADB] Signer #1 certificate SHA-1 digest: b8db0b11cec13cc7574a7d62f383ec16c0d275ee | |
[debug] [ADB] Signer #1 certificate MD5 digest: 4fcd3b10d1e80a20bbd28758c8a3e19b | |
[debug] [ADB] WARNING: META-INF/INDEX.LIST not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[debug] [ADB] WARNING: META-INF/io.netty.versions.properties not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[debug] [ADB] | |
[debug] [ADB] 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' is not signed with debug cert. | |
[debug] [ADB] Zip-aligning 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' | |
[ADB] Checking whether zipalign is present | |
[ADB] Using zipalign.exe from D:\hcs\Documents\Android-SDK\build-tools\27.0.3\zipalign.exe | |
[debug] [ADB] Signing 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' with default cert | |
[debug] [ADB] Starting 'D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apksigner.bat' with args '["sign","--key","C:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-adb\\keys\\testkey.pk8","--cert","C:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-adb\\keys\\testkey.x509.pem","C:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v1.12.0.apk"]' | |
[debug] [ADB] Checking app cert for C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk | |
[debug] [ADB] Starting 'D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apksigner.bat' with args '["verify","--print-certs","C:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk"]' | |
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: C=US, O=Android, CN=Android Debug | |
[debug] [ADB] Signer #1 certificate SHA-256 digest: 707bc2493ea5b0267dc10a9bd4cedbab5431976f13274cdd045d93470179556d | |
[debug] [ADB] Signer #1 certificate SHA-1 digest: b8db0b11cec13cc7574a7d62f383ec16c0d275ee | |
[debug] [ADB] Signer #1 certificate MD5 digest: 4fcd3b10d1e80a20bbd28758c8a3e19b | |
[debug] [ADB] | |
[debug] [ADB] 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is not signed with debug cert. | |
[debug] [ADB] Zip-aligning 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' | |
[debug] [ADB] Signing 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' with default cert | |
[debug] [ADB] Starting 'D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apksigner.bat' with args '["sign","--key","C:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-adb\\keys\\testkey.pk8","--cert","C:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-adb\\keys\\testkey.x509.pem","C:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk"]' | |
[debug] [ADB] Uninstalling io.appium.uiautomator2.server | |
[debug] [ADB] Getting install status for io.appium.uiautomator2.server | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages io.appium.uiautomator2.server' | |
[debug] [ADB] App is installed | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell am force-stop io.appium.uiautomator2.server' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff uninstall io.appium.uiautomator2.server' | |
[debug] [ADB] 'adb uninstall io.appium.uiautomator2.server' command output: Success | |
[ADB] io.appium.uiautomator2.server was successfully uninstalled | |
[debug] [ADB] Uninstalling io.appium.uiautomator2.server.test | |
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages io.appium.uiautomator2.server.test' | |
[debug] [ADB] App is installed | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell am force-stop io.appium.uiautomator2.server.test' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff uninstall io.appium.uiautomator2.server.test' | |
[debug] [ADB] 'adb uninstall io.appium.uiautomator2.server.test' command output: Success | |
[ADB] io.appium.uiautomator2.server.test was successfully uninstalled | |
[debug] [ADB] Getting install status for io.appium.uiautomator2.server | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages io.appium.uiautomator2.server' | |
[debug] [ADB] App is not installed | |
[debug] [ADB] App 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' not installed. Installing | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff install C\:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v1.12.0.apk' | |
[debug] [ADB] Install command stdout: Success | |
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages io.appium.uiautomator2.server.test' | |
[debug] [ADB] App is not installed | |
[debug] [ADB] App 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' not installed. Installing | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff install C\:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk' | |
[debug] [ADB] Install command stdout: Success | |
[debug] [UiAutomator2] Waiting up to 20000ms for instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' to be available | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list instrumentation' | |
[debug] [UiAutomator2] Instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' available | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff wait-for-device' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell echo ping' | |
[debug] [AndroidDriver] Pushing settings apk to device... | |
[debug] [ADB] Getting install status for io.appium.settings | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages io.appium.settings' | |
[debug] [ADB] App is installed | |
[debug] [ADB] Getting package info for 'io.appium.settings' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys package io.appium.settings' | |
[debug] [ADB] The installed 'io.appium.settings' package does not require upgrade ('2.3.0' >= '2.3.0') | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell ps' | |
[debug] [ADB] Device API level: 25 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell am start -W -n io.appium.settings/.Settings -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' | |
[debug] [ADB] Device API level: 25 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell appops set io.appium.settings android\:mock_location allow' | |
[AndroidDriver] setDeviceLanguageCountry requires language or country. | |
[AndroidDriver] Got language: 'null' and country: 'null' | |
[debug] [Logcat] Starting logcat capture | |
[debug] [AndroidDriver] Enabling Unicode keyboard support | |
[debug] [AndroidDriver] Pushing unicode ime to device... | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff install C\:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-android-ime\\bin\\UnicodeIME-debug.apk' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff install C\:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-android-ime\\bin\\UnicodeIME-debug.apk' | |
[debug] [ADB] Application 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-ime\bin\UnicodeIME-debug.apk' already installed. Continuing. | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell settings get secure default_input_method' | |
[debug] [AndroidDriver] Unsetting previous IME com.baidu.input_yijia/.ImeService | |
[debug] [AndroidDriver] Setting IME to 'io.appium.android.ime/.UnicodeIME' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell ime enable io.appium.android.ime/.UnicodeIME' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell ime set io.appium.android.ime/.UnicodeIME' | |
[debug] [AndroidDriver] Pushing unlock helper app to device... | |
[debug] [ADB] Getting install status for io.appium.unlock | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages io.appium.unlock' | |
[debug] [ADB] App is installed | |
[debug] [ADB] Getting package info for 'io.appium.unlock' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys package io.appium.unlock' | |
[debug] [ADB] The installed 'io.appium.unlock' package does not require upgrade ('2.0.0' >= '2.0.0') | |
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200 | |
[debug] [ADB] Forwarding system: 8200 to device: 6790 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff forward tcp\:8200 tcp\:6790' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell rm -rf /data/local/tmp/strings.json' | |
[debug] [AndroidDriver] Extracting strings from apk | |
[debug] [AndroidDriver] D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk | |
[debug] [AndroidDriver] null | |
[debug] [AndroidDriver] C:\Users\HECHAN~1\AppData\Local\Temp\com.crc.hrt | |
[debug] [ADB] Extracting strings for language: default | |
[ADB] Successfully extracted 1309 strings from 'D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk' resources for '(default)' configuration | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff push C\:\\Users\\HECHAN~1\\AppData\\Local\\Temp\\com.crc.hrt\\strings.json /data/local/tmp' | |
[debug] [ADB] Getting install status for com.crc.hrt | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages com.crc.hrt' | |
[debug] [ADB] App is not installed | |
[debug] [ADB] Getting install status for com.crc.hrt | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages com.crc.hrt' | |
[debug] [ADB] App is not installed | |
[debug] [ADB] App 'D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk' not installed. Installing | |
[debug] [ADB] Device API level: 25 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff install -g D\:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk' | |
[debug] [ADB] Install command stdout: Success | |
[debug] [ADB] Getting all processes with uiautomator | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell ps' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell am force-stop io.appium.uiautomator2.server' | |
[UiAutomator2] Starting uiautomator2 server 1.12.0 | |
[UiAutomator2] Using UIAutomator2 server from 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' and test from 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' | |
[UiAutomator2] Running command: 'adb -s 1df270ff shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' | |
[UiAutomator2] Waiting up to 20000ms for UiAutomator2 to be online... | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body | |
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"SESSIONID\",\"status\":0,\"value\":\"Status Invoked\"}" | |
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8200/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","unicodeKeyboard":true,"resetKeyboard":true,"noReset":false,"noSign":true,"fullReset":false,"automationName":"Uiautomator2","app":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk","deviceName":"1df270ff","nativeWebScreenshot":true,"platformVersion":"7.1.1","chromedriverChromeMappingFile":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver\\chromedriver.json","chromedriverExecutableDir":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver","autoGrantPermissions":true,"recreateChromeDriverSessions":true},"platformName":"Android","unicodeKeyboard":true,"resetKeyboard":true,"noReset":false,"noSign":true,"fullReset":false,"automationName":"Uiautom... | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7dd900b1-add2-4ec0-9cdd-900660df2f9a","status":0,"value":"Created Session"} | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys window' | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.crc.hrt/com.hrt.platform.activity.FlashActivity'. Starting it ourselves | |
[debug] [ADB] Device API level: 25 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell am start -W -n com.crc.hrt/com.hrt.platform.activity.FlashActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' | |
[debug] [ADB] Waiting up to 20000ms for activity matching pkg: 'com.crc.hrt' and activity: 'com.hrt.platform.activity.FlashActivity' to be focused | |
[debug] [ADB] Possible activities, to be checked: 'com.hrt.platform.activity.FlashActivity', 'com.crc.hrt.com.hrt.platform.activity.FlashActivity' | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys window windows' | |
[debug] [ADB] Found package: 'com.crc.hrt' and fully qualified activity name : 'com.hrt.platform.activity.FlashActivity' | |
[debug] [JSONWP Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://localhost:8200/wd/hub/session/7dd900b1-add2-4ec0-9cdd-900660df2f9a/appium/device/pixel_ratio] with body: {} | |
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"7dd900b1-add2-4ec0-9cdd-900660df2f9a\",\"status\":0,\"value\":2.625}" | |
[debug] [JSONWP Proxy] Proxying [GET /appium/device/system_bars] to [GET http://localhost:8200/wd/hub/session/7dd900b1-add2-4ec0-9cdd-900660df2f9a/appium/device/system_bars] with body: {} | |
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"7dd900b1-add2-4ec0-9cdd-900660df2f9a\",\"status\":0,\"value\":{\"statusBar\":63}}" | |
[debug] [JSONWP Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8200/wd/hub/session/7dd900b1-add2-4ec0-9cdd-900660df2f9a/window/current/size] with body: {} | |
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"7dd900b1-add2-4ec0-9cdd-900660df2f9a\",\"status\":0,\"value\":{\"height\":2034,\"width\":1080}}" | |
[Appium] New AndroidUiautomator2Driver session created successfully, session fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2 added to master session list | |
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1529631981227 (09:46:21 GMT+0800 (中国标准时间)) | |
[debug] [W3C] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","unicodeKeyboard":true,"resetKeyboard":true,"noReset":false,"noSign":true,"fullReset":false,"automationName":"Uiautomator2","app":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk","deviceName":"1df270ff","nativeWebScreenshot":true,"platformVersion":"7.1.1","chromedriverChromeMappingFile":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver\\chromedriver.json","chromedriverExecutableDir":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver","autoGrantPermissions":true,"recreateChromeDriverSessions":true},"platformName":"Android","unicodeKeyboard":true,"resetKeyboard":true,"noReset":false,"noSign":true,"fullReset":false,"automationName":"Uiautomator2",... | |
[HTTP] <-- POST /wd/hub/session 200 34504 ms - 1872 | |
[HTTP] | |
[HTTP] --> GET /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/appium/device/current_activity | |
[HTTP] {} | |
[debug] [W3C] Calling AppiumDriver.getCurrentActivity() with args: ["fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys window windows' | |
[debug] [W3C] Responding to client with driver.getCurrentActivity() result: "com.hrt.platform.activity.TutorialActivity" | |
[HTTP] <-- GET /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/appium/device/current_activity 200 165 ms - 54 | |
[HTTP] | |
[HTTP] --> GET /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/appium/device/current_activity | |
[HTTP] {} | |
[debug] [W3C] Calling AppiumDriver.getCurrentActivity() with args: ["fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys window windows' | |
[debug] [W3C] Responding to client with driver.getCurrentActivity() result: "com.hrt.platform.activity.TutorialActivity" | |
[HTTP] <-- GET /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/appium/device/current_activity 200 128 ms - 54 | |
[HTTP] | |
[HTTP] --> GET /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/appium/device/current_activity | |
[HTTP] {} | |
[debug] [W3C] Calling AppiumDriver.getCurrentActivity() with args: ["fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys window windows' | |
[debug] [W3C] Responding to client with driver.getCurrentActivity() result: "com.hrt.platform.activity.TutorialActivity" | |
[HTTP] <-- GET /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/appium/device/current_activity 200 136 ms - 54 | |
[HTTP] | |
[HTTP] --> GET /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/appium/device/current_activity | |
[HTTP] {} | |
[debug] [W3C] Calling AppiumDriver.getCurrentActivity() with args: ["fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys window windows' | |
[debug] [W3C] Responding to client with driver.getCurrentActivity() result: "com.hrt.platform.activity.TutorialActivity" | |
[HTTP] <-- GET /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/appium/device/current_activity 200 125 ms - 54 | |
[HTTP] | |
[HTTP] --> GET /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/appium/device/current_activity | |
[HTTP] {} | |
[debug] [W3C] Calling AppiumDriver.getCurrentActivity() with args: ["fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys window windows' | |
[debug] [W3C] Responding to client with driver.getCurrentActivity() result: "com.hrt.platform.activity.TutorialActivity" | |
[HTTP] <-- GET /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/appium/device/current_activity 200 114 ms - 54 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/elements | |
[HTTP] {"using":"xpath","sessionId":"fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2","value":"//android.widget.TextView[@resource-id='com.crc.hrt:id/tv_header_title']/parent::android.widget.RelativeLayout[@resource-id='com.crc.hrt:id/rl_title']/following-sibling::android.widget.LinearLayout//android.widget.Button[@resource-id='com.crc.hrt:id/bn_left' and @text='下次再 | |
说']"} | |
[debug] [W3C] Calling AppiumDriver.findElements() with args: ["xpath","//android.widget.TextView[@resource-id='com.crc.hrt:id/tv_header_title']/parent::android.widget.RelativeLayout[@resource-id='com.crc.hrt:id/rl_title']/following-sibling::android.widget.LinearLayout//android.widget.Button[@resource-id='com.crc.hrt:id/bn_left' and @text='下次再说']","fef5c2 | |
cf-d644-437d-8b17-5d6fa4d9dbb2"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/7dd900b1-add2-4ec0-9cdd-900660df2f9a/elements] with body: {"strategy":"xpath","selector":"//android.widget.TextView[@resource-id='com.crc.hrt:id/tv_header_title']/parent::android.widget.RelativeLayout[@resource-id='com.crc.hrt:id/rl_title']/following-sibling::android.widget.LinearLayout//android.widget.Button[@resource-id='com.crc.hrt:id/bn_left' and @text='下次再说']","context":"", | |
"multiple":true} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7dd900b1-add2-4ec0-9cdd-900660df2f9a","status":0,"value":[]} | |
[debug] [W3C] Responding to client with driver.findElements() result: [] | |
[HTTP] <-- POST /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/elements 200 89 ms - 12 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/elements | |
[HTTP] {"using":"xpath","sessionId":"fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2","value":"//android.widget.TextView[@resource-id='com.crc.hrt:id/tv_header_title']/parent::android.widget.RelativeLayout[@resource-id='com.crc.hrt:id/rl_title']/following-sibling::android.widget.LinearLayout//android.widget.Button[@resource-id='com.crc.hrt:id/bn_left' and @text='下次再 | |
说']"} | |
[debug] [W3C] Calling AppiumDriver.findElements() with args: ["xpath","//android.widget.TextView[@resource-id='com.crc.hrt:id/tv_header_title']/parent::android.widget.RelativeLayout[@resource-id='com.crc.hrt:id/rl_title']/following-sibling::android.widget.LinearLayout//android.widget.Button[@resource-id='com.crc.hrt:id/bn_left' and @text='下次再说']","fef5c2 | |
cf-d644-437d-8b17-5d6fa4d9dbb2"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/7dd900b1-add2-4ec0-9cdd-900660df2f9a/elements] with body: {"strategy":"xpath","selector":"//android.widget.TextView[@resource-id='com.crc.hrt:id/tv_header_title']/parent::android.widget.RelativeLayout[@resource-id='com.crc.hrt:id/rl_title']/following-sibling::android.widget.LinearLayout//android.widget.Button[@resource-id='com.crc.hrt:id/bn_left' and @text='下次再说']","context":"", | |
"multiple":true} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7dd900b1-add2-4ec0-9cdd-900660df2f9a","status":0,"value":[]} | |
[debug] [W3C] Responding to client with driver.findElements() result: [] | |
[HTTP] <-- POST /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/elements 200 139 ms - 12 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/elements | |
[HTTP] {"using":"xpath","sessionId":"fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2","value":"//android.widget.TextView[@resource-id='com.crc.hrt:id/tv_header_title']/parent::android.widget.RelativeLayout[@resource-id='com.crc.hrt:id/rl_title']/following-sibling::android.widget.LinearLayout//android.widget.Button[@resource-id='com.crc.hrt:id/bn_left' and @text='下次再 | |
说']"} | |
[debug] [W3C] Calling AppiumDriver.findElements() with args: ["xpath","//android.widget.TextView[@resource-id='com.crc.hrt:id/tv_header_title']/parent::android.widget.RelativeLayout[@resource-id='com.crc.hrt:id/rl_title']/following-sibling::android.widget.LinearLayout//android.widget.Button[@resource-id='com.crc.hrt:id/bn_left' and @text='下次再说']","fef5c2 | |
cf-d644-437d-8b17-5d6fa4d9dbb2"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/7dd900b1-add2-4ec0-9cdd-900660df2f9a/elements] with body: {"strategy":"xpath","selector":"//android.widget.TextView[@resource-id='com.crc.hrt:id/tv_header_title']/parent::android.widget.RelativeLayout[@resource-id='com.crc.hrt:id/rl_title']/following-sibling::android.widget.LinearLayout//android.widget.Button[@resource-id='com.crc.hrt:id/bn_left' and @text='下次再说']","context":"", | |
"multiple":true} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7dd900b1-add2-4ec0-9cdd-900660df2f9a","status":0,"value":[]} | |
[debug] [W3C] Responding to client with driver.findElements() result: [] | |
[HTTP] <-- POST /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/elements 200 536 ms - 12 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/elements | |
[HTTP] {"using":"id","sessionId":"fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2","value":"com.crc.hrt:id/viewPager"} | |
[debug] [W3C] Calling AppiumDriver.findElements() with args: ["id","com.crc.hrt:id/viewPager","fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/7dd900b1-add2-4ec0-9cdd-900660df2f9a/elements] with body: {"strategy":"id","selector":"com.crc.hrt:id/viewPager","context":"","multiple":true} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7dd900b1-add2-4ec0-9cdd-900660df2f9a","status":0,"value":[{"ELEMENT":"9c7b7f4a-40bf-4815-ac4e-ea7e3535f820"}]} | |
[debug] [W3C] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"9c7b7f4a-40bf-4815-ac4e-ea7e3535f820"}] | |
[HTTP] <-- POST /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/elements 200 484 ms - 90 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/elements | |
[HTTP] {"using":"id","sessionId":"fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2","value":"com.crc.hrt:id/btn_to_go"} | |
[debug] [W3C] Calling AppiumDriver.findElements() with args: ["id","com.crc.hrt:id/btn_to_go","fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/7dd900b1-add2-4ec0-9cdd-900660df2f9a/elements] with body: {"strategy":"id","selector":"com.crc.hrt:id/btn_to_go","context":"","multiple":true} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7dd900b1-add2-4ec0-9cdd-900660df2f9a","status":0,"value":[]} | |
[debug] [W3C] Responding to client with driver.findElements() result: [] | |
[HTTP] <-- POST /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/elements 200 56 ms - 12 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/elements | |
[HTTP] {"using":"id","sessionId":"fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2","value":"com.crc.hrt:id/btn_to_go"} | |
[debug] [W3C] Calling AppiumDriver.findElements() with args: ["id","com.crc.hrt:id/btn_to_go","fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/7dd900b1-add2-4ec0-9cdd-900660df2f9a/elements] with body: {"strategy":"id","selector":"com.crc.hrt:id/btn_to_go","context":"","multiple":true} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7dd900b1-add2-4ec0-9cdd-900660df2f9a","status":0,"value":[]} | |
[debug] [W3C] Responding to client with driver.findElements() result: [] | |
[HTTP] <-- POST /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/elements 200 398 ms - 12 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/elements | |
[HTTP] {"using":"id","sessionId":"fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2","value":"com.crc.hrt:id/btn_to_go"} | |
[debug] [W3C] Calling AppiumDriver.findElements() with args: ["id","com.crc.hrt:id/btn_to_go","fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/7dd900b1-add2-4ec0-9cdd-900660df2f9a/elements] with body: {"strategy":"id","selector":"com.crc.hrt:id/btn_to_go","context":"","multiple":true} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7dd900b1-add2-4ec0-9cdd-900660df2f9a","status":0,"value":[]} | |
[debug] [W3C] Responding to client with driver.findElements() result: [] | |
[HTTP] <-- POST /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/elements 200 513 ms - 12 | |
[HTTP] | |
[HTTP] --> GET /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/window/rect | |
[HTTP] {} | |
[debug] [W3C] Calling AppiumDriver.getWindowRect() with args: ["fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2"] | |
[debug] [JSONWP Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8200/wd/hub/session/7dd900b1-add2-4ec0-9cdd-900660df2f9a/window/current/size] with body: {} | |
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"7dd900b1-add2-4ec0-9cdd-900660df2f9a\",\"status\":0,\"value\":{\"height\":2034,\"width\":1080}}" | |
[debug] [W3C] Responding to client with driver.getWindowRect() result: {"width":1080,"height":2034,"x":0,"y":0} | |
[HTTP] <-- GET /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/window/rect 200 49 ms - 50 | |
[HTTP] | |
[HTTP] --> GET /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/window/rect | |
[HTTP] {} | |
[debug] [W3C] Calling AppiumDriver.getWindowRect() with args: ["fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2"] | |
[debug] [JSONWP Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8200/wd/hub/session/7dd900b1-add2-4ec0-9cdd-900660df2f9a/window/current/size] with body: {} | |
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"7dd900b1-add2-4ec0-9cdd-900660df2f9a\",\"status\":0,\"value\":{\"height\":2034,\"width\":1080}}" | |
[debug] [W3C] Responding to client with driver.getWindowRect() result: {"width":1080,"height":2034,"x":0,"y":0} | |
[HTTP] <-- GET /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/window/rect 200 25 ms - 50 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/touch/perform | |
[HTTP] {"sessionId":"fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2","actions":[{"action":"press","options":{"y":1017,"x":810}},{"action":"wait","options":{"ms":300}},{"action":"moveTo","options":{"y":1017,"x":270}},{"action":"release","options":{}}]} | |
[debug] [W3C] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"y":1017,"x":810}},{"action":"wait","options":{"ms":300}},{"action":"moveTo","options":{"y":1017,"x":270}},{"action":"release","options":{}}],"fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2"] | |
[debug] [JSONWP Proxy] Proxying [POST /touch/perform] to [POST http://localhost:8200/wd/hub/session/7dd900b1-add2-4ec0-9cdd-900660df2f9a/touch/perform] with body: {"startX":810,"startY":1017,"endX":270,"endY":1017,"steps":8} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7dd900b1-add2-4ec0-9cdd-900660df2f9a","status":0,"value":true} | |
[debug] [W3C] Responding to client with driver.performTouch() result: true | |
[HTTP] <-- POST /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/touch/perform 200 941 ms - 14 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/elements | |
[HTTP] {"using":"id","sessionId":"fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2","value":"com.crc.hrt:id/btn_to_go"} | |
[debug] [W3C] Calling AppiumDriver.findElements() with args: ["id","com.crc.hrt:id/btn_to_go","fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/7dd900b1-add2-4ec0-9cdd-900660df2f9a/elements] with body: {"strategy":"id","selector":"com.crc.hrt:id/btn_to_go","context":"","multiple":true} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7dd900b1-add2-4ec0-9cdd-900660df2f9a","status":0,"value":[]} | |
[debug] [W3C] Responding to client with driver.findElements() result: [] | |
[HTTP] <-- POST /wd/hub/session/fef5c2cf-d644-437d-8b17-5d6fa4d9dbb2/elements 200 1480 ms - 12 | |
[HTTP] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\hechangshu1 (hechangshu1@1.0.0) | |
λ cappium --session-override | |
[Appium] Welcome to Appium v1.8.2-beta | |
[Appium] Non-default server args: | |
[Appium] sessionOverride: true | |
[Appium] Appium REST http interface listener started on 0.0.0.0:4723 | |
[HTTP] --> POST /wd/hub/session | |
[HTTP] {"capabilities":{"alwaysMatch":{"appium:unicodeKeyboard":"True","appium:resetKeyboard":"True","appium:autoGrantPermissions":true,"appium:fullReset":false,"appium:automationName":"Uiautomator2","appium:app":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk","appium:deviceName":"1df270ff","appium:recreateChromeDriverSessions":true,"appium:platformVersion":"7.1.1","appium:chromedriverChromeMappingFile":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver\\chromedriver.json","appium:chromedriverExecutableDir":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver","platformName":"Android","appium:noReset":false,"appium:nativeWebScreenshot":true},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"1df270ff","chromedriverChromeMappingFile":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver\\chromedriver.json","recreateChromeDriverSessio | |
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"1df270ff","chromedriverChromeMappingFile":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver\\chromedriver.json","recreateChromeDriverSessions":true,"app":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk","autoGrantPermissions":true,"noReset":false,"unicodeKeyboard":"True","chromedriverExecutableDir":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver","nativeWebScreenshot":true,"resetKeyboard":"True","platformVersion":"7.1.1","fullReset":false,"platformName":"Android","automationName":"Uiautomator2"},null,{"alwaysMatch":{"appium:unicodeKeyboard":"True","appium:resetKeyboard":"True","appium:autoGrantPermissions":true,"appium:fullReset":false,"appium:automationName":"Uiautomator2","appium:app":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk","appium:deviceName":"1df270ff","appium:recreateChromeDriverSessions":true,"appium:platformVersio... | |
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1529632222389 (09:50:22 GMT+0800 (中国标准时间)) | |
[Appium] Creating new AndroidUiautomator2Driver (v1.13.1) session | |
[Appium] Capabilities: | |
[Appium] platformName: Android | |
[Appium] unicodeKeyboard: True | |
[Appium] resetKeyboard: True | |
[Appium] autoGrantPermissions: true | |
[Appium] fullReset: false | |
[Appium] automationName: Uiautomator2 | |
[Appium] app: D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk | |
[Appium] deviceName: 1df270ff | |
[Appium] recreateChromeDriverSessions: true | |
[Appium] platformVersion: 7.1.1 | |
[Appium] chromedriverChromeMappingFile: D:\hcs\Documents\workspace\app_auto_android\lib\appbase\driver\tools\chromedriver\chromedriver.json | |
[Appium] chromedriverExecutableDir: D:\hcs\Documents\workspace\app_auto_android\lib\appbase\driver\tools\chromedriver | |
[Appium] noReset: false | |
[Appium] nativeWebScreenshot: true | |
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities [object Object] were provided | |
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa... | |
[BaseDriver] Boolean capability passed in as string. Functionality may be compromised. | |
[BaseDriver] Boolean capability passed in as string. Functionality may be compromised. | |
[BaseDriver] Capability 'unicodeKeyboard' changed from string to boolean. This may cause unexpected behavior | |
[BaseDriver] Capability 'resetKeyboard' changed from string to boolean. This may cause unexpected behavior | |
[BaseDriver] Session created with session id: dbfa272b-901a-424a-b41f-57e6f1c824c2 | |
[BaseDriver] Using local app 'D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk' | |
[debug] [UiAutomator2] Checking whether app is actually present | |
[debug] [AndroidDriver] Getting Java version | |
[AndroidDriver] Java version is: 1.8.0_144 | |
[ADB] Checking whether adb is present | |
[ADB] Found 2 'build-tools' folders under 'D:\hcs\Documents\Android-SDK' (newest first): | |
[ADB] D:/hcs/Documents/Android-SDK/build-tools/27.0.3 | |
[ADB] D:/hcs/Documents/Android-SDK/build-tools/26.0.2 | |
[ADB] Using adb.exe from D:\hcs\Documents\Android-SDK\platform-tools\adb.exe | |
[AndroidDriver] Retrieving device list | |
[debug] [ADB] Trying to find a connected android device | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[AndroidDriver] Looking for a device with Android '7.1.1' | |
[debug] [ADB] Setting device id to 1df270ff | |
[ADB] Getting device platform version | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell getprop ro.build.version.release' | |
[debug] [ADB] Current device property 'ro.build.version.release': 7.1.1 | |
[AndroidDriver] Using device: 1df270ff | |
[debug] [ADB] Setting device id to 1df270ff | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell getprop ro.build.version.sdk' | |
[debug] [ADB] Current device property 'ro.build.version.sdk': 25 | |
[debug] [ADB] Device API level: 25 | |
[debug] [AndroidDriver] Parsing package and activity from app manifest | |
[ADB] Using the alternative activity name detection method because of: Could not find apkanalyzer.bat in D:\hcs\Documents\Android-SDK\platform-tools\apkanalyzer.bat,D:\hcs\Documents\Android-SDK\emulator\apkanalyzer.bat,D:\hcs\Documents\Android-SDK\tools\apkanalyzer.bat,D:\hcs\Documents\Android-SDK\tools\bin\apkanalyzer.bat,D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apkanalyzer.bat,D:\hcs\Documents\Android-SDK\build-tools\26.0.2\apkanalyzer.bat. Do you have the Android SDK installed at 'D:\hcs\Documents\Android-SDK'? | |
[ADB] Checking whether aapt is present | |
[ADB] Using aapt.exe from D:\hcs\Documents\Android-SDK\build-tools\27.0.3\aapt.exe | |
[ADB] Extracting package and launch activity from manifest | |
[ADB] Package name: 'com.crc.hrt' | |
[ADB] Main activity name: 'com.hrt.platform.activity.FlashActivity' | |
[debug] [AndroidDriver] Parsed package and activity are: com.crc.hrt/com.hrt.platform.activity.FlashActivity | |
[ADB] Getting device platform version | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell getprop ro.build.version.release' | |
[debug] [ADB] Current device property 'ro.build.version.release': 7.1.1 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell wm size' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell wm density' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell getprop ro.product.model' | |
[debug] [ADB] Current device property 'ro.product.model': ONEPLUS A5010 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell getprop ro.product.manufacturer' | |
[debug] [ADB] Current device property 'ro.product.manufacturer': OnePlus | |
[debug] [ADB] Device API level: 25 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell am force-stop io.appium.uiautomator2.server' | |
[debug] [ADB] Checking app cert for C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk | |
[ADB] Using apksigner.bat from D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apksigner.bat | |
[debug] [ADB] Starting 'D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apksigner.bat' with args '["verify","--print-certs","C:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v1.12.0.apk"]' | |
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US | |
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc | |
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 | |
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 | |
[debug] [ADB] WARNING: META-INF/INDEX.LIST not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[debug] [ADB] WARNING: META-INF/io.netty.versions.properties not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[debug] [ADB] | |
[debug] [ADB] 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' is already signed. | |
[debug] [ADB] Checking app cert for C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk | |
[debug] [ADB] Starting 'D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apksigner.bat' with args '["verify","--print-certs","C:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk"]' | |
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US | |
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc | |
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 | |
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 | |
[debug] [ADB] | |
[debug] [ADB] 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is already signed. | |
[debug] [ADB] Getting install status for io.appium.uiautomator2.server | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages io.appium.uiautomator2.server' | |
[debug] [ADB] App is installed | |
[debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys package io.appium.uiautomator2.server' | |
[debug] [ADB] The installed 'io.appium.uiautomator2.server' package does not require upgrade ('1.12.0' >= '1.12.0') | |
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages io.appium.uiautomator2.server.test' | |
[debug] [ADB] App is installed | |
[debug] [ADB] Getting package info for 'io.appium.uiautomator2.server.test' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys package io.appium.uiautomator2.server.test' | |
[ADB] Cannot read version codes of 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' and/or 'io.appium.uiautomator2.server.test' | |
[ADB] Cannot read version names of 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' and/or 'io.appium.uiautomator2.server.test'. Assuming correct app version is already installed | |
[debug] [UiAutomator2] Waiting up to 20000ms for instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' to be available | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list instrumentation' | |
[debug] [UiAutomator2] Instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' available | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff wait-for-device' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell echo ping' | |
[debug] [AndroidDriver] Pushing settings apk to device... | |
[debug] [ADB] Getting install status for io.appium.settings | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages io.appium.settings' | |
[debug] [ADB] App is installed | |
[debug] [ADB] Getting package info for 'io.appium.settings' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys package io.appium.settings' | |
[debug] [ADB] The installed 'io.appium.settings' package does not require upgrade ('2.3.0' >= '2.3.0') | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell ps' | |
[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. | |
[debug] [ADB] Device API level: 25 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell appops set io.appium.settings android\:mock_location allow' | |
[AndroidDriver] setDeviceLanguageCountry requires language or country. | |
[AndroidDriver] Got language: 'null' and country: 'null' | |
[debug] [Logcat] Starting logcat capture | |
[debug] [AndroidDriver] Enabling Unicode keyboard support | |
[debug] [AndroidDriver] Pushing unicode ime to device... | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff install C\:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-android-ime\\bin\\UnicodeIME-debug.apk' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff install C\:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-android-ime\\bin\\UnicodeIME-debug.apk' | |
[debug] [ADB] Application 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-ime\bin\UnicodeIME-debug.apk' already installed. Continuing. | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell settings get secure default_input_method' | |
[debug] [AndroidDriver] Unsetting previous IME io.appium.android.ime/.UnicodeIME | |
[debug] [AndroidDriver] Setting IME to 'io.appium.android.ime/.UnicodeIME' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell ime enable io.appium.android.ime/.UnicodeIME' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell ime set io.appium.android.ime/.UnicodeIME' | |
[debug] [AndroidDriver] Pushing unlock helper app to device... | |
[debug] [ADB] Getting install status for io.appium.unlock | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages io.appium.unlock' | |
[debug] [ADB] App is installed | |
[debug] [ADB] Getting package info for 'io.appium.unlock' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys package io.appium.unlock' | |
[debug] [ADB] The installed 'io.appium.unlock' package does not require upgrade ('2.0.0' >= '2.0.0') | |
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8201 | |
[debug] [ADB] Forwarding system: 8201 to device: 6790 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff forward tcp\:8201 tcp\:6790' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell rm -rf /data/local/tmp/strings.json' | |
[debug] [AndroidDriver] Extracting strings from apk | |
[debug] [AndroidDriver] D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk | |
[debug] [AndroidDriver] null | |
[debug] [AndroidDriver] C:\Users\HECHAN~1\AppData\Local\Temp\com.crc.hrt | |
[debug] [ADB] Extracting strings for language: default | |
[ADB] Successfully extracted 1309 strings from 'D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk' resources for '(default)' configuration | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff push C\:\\Users\\HECHAN~1\\AppData\\Local\\Temp\\com.crc.hrt\\strings.json /data/local/tmp' | |
[debug] [ADB] Checking app cert for D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk | |
[debug] [ADB] Starting 'D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apksigner.bat' with args '["verify","--print-certs","D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk"]' | |
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US | |
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc | |
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 | |
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 | |
[debug] [ADB] WARNING: META-INF/kotlin-runtime.kotlin_module not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[debug] [ADB] WARNING: META-INF/kotlin-stdlib-jre7.kotlin_module not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[debug] [ADB] WARNING: META-INF/kotlin-stdlib.kotlin_module not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[debug] [ADB] | |
[debug] [ADB] 'D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk' is already signed. | |
[debug] [ADB] Getting install status for com.crc.hrt | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages com.crc.hrt' | |
[debug] [ADB] App is not installed | |
[debug] [ADB] Getting install status for com.crc.hrt | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages com.crc.hrt' | |
[debug] [ADB] App is not installed | |
[debug] [ADB] App 'D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk' not installed. Installing | |
[debug] [ADB] Device API level: 25 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff install -g D\:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk' | |
[debug] [ADB] Install command stdout: Success | |
[debug] [ADB] Getting all processes with uiautomator | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell ps' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell am force-stop io.appium.uiautomator2.server' | |
[UiAutomator2] Starting uiautomator2 server 1.12.0 | |
[UiAutomator2] Using UIAutomator2 server from 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' and test from 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' | |
[UiAutomator2] Running command: 'adb -s 1df270ff shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' | |
[UiAutomator2] Waiting up to 20000ms for UiAutomator2 to be online... | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8201/wd/hub/status] with no body | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8201/wd/hub/status] with no body | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8201/wd/hub/status] with no body | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8201/wd/hub/status] with no body | |
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"SESSIONID\",\"status\":0,\"value\":\"Status Invoked\"}" | |
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8201/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","unicodeKeyboard":true,"resetKeyboard":true,"autoGrantPermissions":true,"fullReset":false,"automationName":"Uiautomator2","app":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk","deviceName":"1df270ff","recreateChromeDriverSessions":true,"platformVersion":"7.1.1","chromedriverChromeMappingFile":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver\\chromedriver.json","chromedriverExecutableDir":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver","noReset":false,"nativeWebScreenshot":true},"platformName":"Android","unicodeKeyboard":true,"resetKeyboard":true,"autoGrantPermissions":true,"fullReset":false,"automationName":"Uiautomator2","app":"D:... | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"c4a08c17-6bce-4eb9-a751-4ca94c54699c","status":0,"value":"Created Session"} | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys window' | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.crc.hrt/com.hrt.platform.activity.FlashActivity'. Starting it ourselves | |
[debug] [ADB] Device API level: 25 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell am start -W -n com.crc.hrt/com.hrt.platform.activity.FlashActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' | |
[debug] [ADB] Waiting up to 20000ms for activity matching pkg: 'com.crc.hrt' and activity: 'com.hrt.platform.activity.FlashActivity' to be focused | |
[debug] [ADB] Possible activities, to be checked: 'com.hrt.platform.activity.FlashActivity', 'com.crc.hrt.com.hrt.platform.activity.FlashActivity' | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys window windows' | |
[debug] [ADB] Found package: 'com.crc.hrt' and fully qualified activity name : 'com.hrt.platform.activity.FlashActivity' | |
[debug] [JSONWP Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://localhost:8201/wd/hub/session/c4a08c17-6bce-4eb9-a751-4ca94c54699c/appium/device/pixel_ratio] with body: {} | |
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"c4a08c17-6bce-4eb9-a751-4ca94c54699c\",\"status\":0,\"value\":2.625}" | |
[debug] [JSONWP Proxy] Proxying [GET /appium/device/system_bars] to [GET http://localhost:8201/wd/hub/session/c4a08c17-6bce-4eb9-a751-4ca94c54699c/appium/device/system_bars] with body: {} | |
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"c4a08c17-6bce-4eb9-a751-4ca94c54699c\",\"status\":0,\"value\":{\"statusBar\":63}}" | |
[debug] [JSONWP Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8201/wd/hub/session/c4a08c17-6bce-4eb9-a751-4ca94c54699c/window/current/size] with body: {} | |
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"c4a08c17-6bce-4eb9-a751-4ca94c54699c\",\"status\":0,\"value\":{\"height\":2034,\"width\":1080}}" | |
[Appium] New AndroidUiautomator2Driver session created successfully, session dbfa272b-901a-424a-b41f-57e6f1c824c2 added to master session list | |
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1529632249299 (09:50:49 GMT+0800 (中国标准时间)) | |
[debug] [W3C] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","unicodeKeyboard":true,"resetKeyboard":true,"autoGrantPermissions":true,"fullReset":false,"automationName":"Uiautomator2","app":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk","deviceName":"1df270ff","recreateChromeDriverSessions":true,"platformVersion":"7.1.1","chromedriverChromeMappingFile":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver\\chromedriver.json","chromedriverExecutableDir":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver","noReset":false,"nativeWebScreenshot":true},"platformName":"Android","unicodeKeyboard":true,"resetKeyboard":true,"autoGrantPermissions":true,"fullReset":false,"automationName":"Uiautomator2","app":"D:\\hcs\\... | |
[HTTP] <-- POST /wd/hub/session 200 26923 ms - 1844 | |
[HTTP] | |
[HTTP] --> GET /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/appium/device/current_activity | |
[HTTP] {} | |
[debug] [W3C] Calling AppiumDriver.getCurrentActivity() with args: ["dbfa272b-901a-424a-b41f-57e6f1c824c2"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys window windows' | |
[debug] [W3C] Responding to client with driver.getCurrentActivity() result: "com.hrt.platform.activity.TutorialActivity" | |
[HTTP] <-- GET /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/appium/device/current_activity 200 166 ms - 54 | |
[HTTP] | |
[HTTP] --> GET /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/appium/device/current_activity | |
[HTTP] {} | |
[debug] [W3C] Calling AppiumDriver.getCurrentActivity() with args: ["dbfa272b-901a-424a-b41f-57e6f1c824c2"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys window windows' | |
[debug] [W3C] Responding to client with driver.getCurrentActivity() result: "com.hrt.platform.activity.TutorialActivity" | |
[HTTP] <-- GET /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/appium/device/current_activity 200 138 ms - 54 | |
[HTTP] | |
[HTTP] --> GET /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/appium/device/current_activity | |
[HTTP] {} | |
[debug] [W3C] Calling AppiumDriver.getCurrentActivity() with args: ["dbfa272b-901a-424a-b41f-57e6f1c824c2"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys window windows' | |
[debug] [W3C] Responding to client with driver.getCurrentActivity() result: "com.hrt.platform.activity.TutorialActivity" | |
[HTTP] <-- GET /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/appium/device/current_activity 200 143 ms - 54 | |
[HTTP] | |
[HTTP] --> GET /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/appium/device/current_activity | |
[HTTP] {} | |
[debug] [W3C] Calling AppiumDriver.getCurrentActivity() with args: ["dbfa272b-901a-424a-b41f-57e6f1c824c2"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys window windows' | |
[debug] [W3C] Responding to client with driver.getCurrentActivity() result: "com.hrt.platform.activity.TutorialActivity" | |
[HTTP] <-- GET /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/appium/device/current_activity 200 159 ms - 54 | |
[HTTP] | |
[HTTP] --> GET /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/appium/device/current_activity | |
[HTTP] {} | |
[debug] [W3C] Calling AppiumDriver.getCurrentActivity() with args: ["dbfa272b-901a-424a-b41f-57e6f1c824c2"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys window windows' | |
[debug] [W3C] Responding to client with driver.getCurrentActivity() result: "com.hrt.platform.activity.TutorialActivity" | |
[HTTP] <-- GET /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/appium/device/current_activity 200 148 ms - 54 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/elements | |
[HTTP] {"using":"xpath","sessionId":"dbfa272b-901a-424a-b41f-57e6f1c824c2","value":"//android.widget.TextView[@resource-id='com.crc.hrt:id/tv_header_title']/parent::android.widget.RelativeLayout[@resource-id='com.crc.hrt:id/rl_title']/following-sibling::android.widget.LinearLayout//android.widget.Button[@resource-id='com.crc.hrt:id/bn_left' and @text='下次再说']"} | |
[debug] [W3C] Calling AppiumDriver.findElements() with args: ["xpath","//android.widget.TextView[@resource-id='com.crc.hrt:id/tv_header_title']/parent::android.widget.RelativeLayout[@resource-id='com.crc.hrt:id/rl_title']/following-sibling::android.widget.LinearLayout//android.widget.Button[@resource-id='com.crc.hrt:id/bn_left' and @text='下次再说']","dbfa272b-901a-424a-b41f-57e6f1c824c2"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8201/wd/hub/session/c4a08c17-6bce-4eb9-a751-4ca94c54699c/elements] with body: {"strategy":"xpath","selector":"//android.widget.TextView[@resource-id='com.crc.hrt:id/tv_header_title']/parent::android.widget.RelativeLayout[@resource-id='com.crc.hrt:id/rl_title']/following-sibling::android.widget.LinearLayout//android.widget.Button[@resource-id='com.crc.hrt:id/bn_left' and @text='下次再说']","context" | |
:"","multiple":true} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"c4a08c17-6bce-4eb9-a751-4ca94c54699c","status":0,"value":[]} | |
[debug] [W3C] Responding to client with driver.findElements() result: [] | |
[HTTP] <-- POST /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/elements 200 555 ms - 12 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/elements | |
[HTTP] {"using":"xpath","sessionId":"dbfa272b-901a-424a-b41f-57e6f1c824c2","value":"//android.widget.TextView[@resource-id='com.crc.hrt:id/tv_header_title']/parent::android.widget.RelativeLayout[@resource-id='com.crc.hrt:id/rl_title']/following-sibling::android.widget.LinearLayout//android.widget.Button[@resource-id='com.crc.hrt:id/bn_left' and @text='下次再说']"} | |
[debug] [W3C] Calling AppiumDriver.findElements() with args: ["xpath","//android.widget.TextView[@resource-id='com.crc.hrt:id/tv_header_title']/parent::android.widget.RelativeLayout[@resource-id='com.crc.hrt:id/rl_title']/following-sibling::android.widget.LinearLayout//android.widget.Button[@resource-id='com.crc.hrt:id/bn_left' and @text='下次再说']","dbfa272b-901a-424a-b41f-57e6f1c824c2"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8201/wd/hub/session/c4a08c17-6bce-4eb9-a751-4ca94c54699c/elements] with body: {"strategy":"xpath","selector":"//android.widget.TextView[@resource-id='com.crc.hrt:id/tv_header_title']/parent::android.widget.RelativeLayout[@resource-id='com.crc.hrt:id/rl_title']/following-sibling::android.widget.LinearLayout//android.widget.Button[@resource-id='com.crc.hrt:id/bn_left' and @text='下次再说']","context" | |
:"","multiple":true} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"c4a08c17-6bce-4eb9-a751-4ca94c54699c","status":0,"value":[]} | |
[debug] [W3C] Responding to client with driver.findElements() result: [] | |
[HTTP] <-- POST /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/elements 200 151 ms - 12 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/elements | |
[HTTP] {"using":"xpath","sessionId":"dbfa272b-901a-424a-b41f-57e6f1c824c2","value":"//android.widget.TextView[@resource-id='com.crc.hrt:id/tv_header_title']/parent::android.widget.RelativeLayout[@resource-id='com.crc.hrt:id/rl_title']/following-sibling::android.widget.LinearLayout//android.widget.Button[@resource-id='com.crc.hrt:id/bn_left' and @text='下次再说']"} | |
[debug] [W3C] Calling AppiumDriver.findElements() with args: ["xpath","//android.widget.TextView[@resource-id='com.crc.hrt:id/tv_header_title']/parent::android.widget.RelativeLayout[@resource-id='com.crc.hrt:id/rl_title']/following-sibling::android.widget.LinearLayout//android.widget.Button[@resource-id='com.crc.hrt:id/bn_left' and @text='下次再说']","dbfa272b-901a-424a-b41f-57e6f1c824c2"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8201/wd/hub/session/c4a08c17-6bce-4eb9-a751-4ca94c54699c/elements] with body: {"strategy":"xpath","selector":"//android.widget.TextView[@resource-id='com.crc.hrt:id/tv_header_title']/parent::android.widget.RelativeLayout[@resource-id='com.crc.hrt:id/rl_title']/following-sibling::android.widget.LinearLayout//android.widget.Button[@resource-id='com.crc.hrt:id/bn_left' and @text='下次再说']","context" | |
:"","multiple":true} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"c4a08c17-6bce-4eb9-a751-4ca94c54699c","status":0,"value":[]} | |
[debug] [W3C] Responding to client with driver.findElements() result: [] | |
[HTTP] <-- POST /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/elements 200 429 ms - 12 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/elements | |
[HTTP] {"using":"id","sessionId":"dbfa272b-901a-424a-b41f-57e6f1c824c2","value":"com.crc.hrt:id/viewPager"} | |
[debug] [W3C] Calling AppiumDriver.findElements() with args: ["id","com.crc.hrt:id/viewPager","dbfa272b-901a-424a-b41f-57e6f1c824c2"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8201/wd/hub/session/c4a08c17-6bce-4eb9-a751-4ca94c54699c/elements] with body: {"strategy":"id","selector":"com.crc.hrt:id/viewPager","context":"","multiple":true} [debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"c4a08c17-6bce-4eb9-a751-4ca94c54699c","status":0,"value":[{"ELEMENT":"0c8a0e2d-e543-4689-9348-4ecd2867d52d"}]} | |
[debug] [W3C] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"0c8a0e2d-e543-4689-9348-4ecd2867d52d"}] | |
[HTTP] <-- POST /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/elements 200 947 ms - 90 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/elements | |
[HTTP] {"using":"id","sessionId":"dbfa272b-901a-424a-b41f-57e6f1c824c2","value":"com.crc.hrt:id/btn_to_go"} | |
[debug] [W3C] Calling AppiumDriver.findElements() with args: ["id","com.crc.hrt:id/btn_to_go","dbfa272b-901a-424a-b41f-57e6f1c824c2"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8201/wd/hub/session/c4a08c17-6bce-4eb9-a751-4ca94c54699c/elements] with body: {"strategy":"id","selector":"com.crc.hrt:id/btn_to_go","context":"","multiple":true} [debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"c4a08c17-6bce-4eb9-a751-4ca94c54699c","status":0,"value":[]} | |
[debug] [W3C] Responding to client with driver.findElements() result: [] | |
[HTTP] <-- POST /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/elements 200 635 ms - 12 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/elements | |
[HTTP] {"using":"id","sessionId":"dbfa272b-901a-424a-b41f-57e6f1c824c2","value":"com.crc.hrt:id/btn_to_go"} | |
[debug] [W3C] Calling AppiumDriver.findElements() with args: ["id","com.crc.hrt:id/btn_to_go","dbfa272b-901a-424a-b41f-57e6f1c824c2"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8201/wd/hub/session/c4a08c17-6bce-4eb9-a751-4ca94c54699c/elements] with body: {"strategy":"id","selector":"com.crc.hrt:id/btn_to_go","context":"","multiple":true} [debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"c4a08c17-6bce-4eb9-a751-4ca94c54699c","status":0,"value":[]} | |
[debug] [W3C] Responding to client with driver.findElements() result: [] | |
[HTTP] <-- POST /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/elements 200 513 ms - 12 | |
[HTTP] | |
[HTTP] --> GET /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/window/rect | |
[HTTP] {} | |
[debug] [W3C] Calling AppiumDriver.getWindowRect() with args: ["dbfa272b-901a-424a-b41f-57e6f1c824c2"] | |
[debug] [JSONWP Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8201/wd/hub/session/c4a08c17-6bce-4eb9-a751-4ca94c54699c/window/current/size] with body: {} | |
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"c4a08c17-6bce-4eb9-a751-4ca94c54699c\",\"status\":0,\"value\":{\"height\":2034,\"width\":1080}}" | |
[debug] [W3C] Responding to client with driver.getWindowRect() result: {"width":1080,"height":2034,"x":0,"y":0} | |
[HTTP] <-- GET /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/window/rect 200 59 ms - 50 | |
[HTTP] | |
[HTTP] --> GET /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/window/rect | |
[HTTP] {} | |
[debug] [W3C] Calling AppiumDriver.getWindowRect() with args: ["dbfa272b-901a-424a-b41f-57e6f1c824c2"] | |
[debug] [JSONWP Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8201/wd/hub/session/c4a08c17-6bce-4eb9-a751-4ca94c54699c/window/current/size] with body: {} | |
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"c4a08c17-6bce-4eb9-a751-4ca94c54699c\",\"status\":0,\"value\":{\"height\":2034,\"width\":1080}}" | |
[debug] [W3C] Responding to client with driver.getWindowRect() result: {"width":1080,"height":2034,"x":0,"y":0} | |
[HTTP] <-- GET /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/window/rect 200 30 ms - 50 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/touch/perform | |
[HTTP] {"sessionId":"dbfa272b-901a-424a-b41f-57e6f1c824c2","actions":[{"action":"press","options":{"y":1017,"x":810}},{"action":"wait","options":{"ms":300}},{"action":"moveTo","options":{"y":1017,"x":270}},{"action":"release","options":{}}]} | |
[debug] [W3C] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"y":1017,"x":810}},{"action":"wait","options":{"ms":300}},{"action":"moveTo","options":{"y":1017,"x":270}},{"action":"release","options":{}}],"dbfa272b-901a-424a-b41f-57e6f1c824c2"] | |
[debug] [JSONWP Proxy] Proxying [POST /touch/perform] to [POST http://localhost:8201/wd/hub/session/c4a08c17-6bce-4eb9-a751-4ca94c54699c/touch/perform] with body: {"startX":810,"startY":1017,"endX":270,"endY":1017,"steps":8} | |
[HTTP] <-- POST /wd/hub/session/dbfa272b-901a-424a-b41f-57e6f1c824c2/touch/perform - - ms - - | |
[HTTP] | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"c4a08c17-6bce-4eb9-a751-4ca94c54699c","status":0,"value":true} | |
[debug] [W3C] Responding to client with driver.performTouch() result: true | |
[BaseDriver] Shutting down because we waited 60 seconds for a command | |
[debug] [UiAutomator2] Deleting UiAutomator2 session | |
[debug] [UiAutomator2] Deleting UiAutomator2 server session | |
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://localhost:8201/wd/hub/session/c4a08c17-6bce-4eb9-a751-4ca94c54699c] with no body | |
[Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability' | |
[Appium] Removing session dbfa272b-901a-424a-b41f-57e6f1c824c2 from our master session list | |
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"c4a08c17-6bce-4eb9-a751-4ca94c54699c\",\"status\":0,\"value\":\"Session deleted\"}" | |
[debug] [UiAutomator2] Resetting IME to 'io.appium.android.ime/.UnicodeIME' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell ime set io.appium.android.ime/.UnicodeIME' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell am force-stop com.crc.hrt' | |
[debug] [UiAutomator2] [UIAutomator2] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:. | |
[debug] [UiAutomator2] [UIAutomator2] Time: 81.08 | |
[debug] [UiAutomator2] [UIAutomator2] OK (1 test) | |
[debug] [Logcat] Stopping logcat capture | |
[debug] [ADB] Removing forwarded port socket connection: 8201 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff forward --remove tcp\:8201' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment