Skip to content

Instantly share code, notes, and snippets.

@gamesguru
Last active November 2, 2017 13:30
Show Gist options
  • Save gamesguru/a1a28dc434e005041770dbb7df37efd0 to your computer and use it in GitHub Desktop.
Save gamesguru/a1a28dc434e005041770dbb7df37efd0 to your computer and use it in GitHub Desktop.
...starting appium...
[Appium] Welcome to Appium v1.7.1
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"udid":"86501a68f79700000000","deviceName":"OCTP_7","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","automationName":"uiautomator2","newCommandTimeout":180,"fullReset":false,"platformName":"Android"},"capabilities":{"firstMatch":[{"udid":"86501a68f79700000000","deviceName":"OCTP_7","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","automationName":"uiautomator2","newCommandTimeout":180,"fullReset":false,"platformName":"Android"}]}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"udid":"86501a68f79700000000","deviceName":"OCTP_7","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","automationName":"uiautomator2","newCommandTimeout":180,"fullReset":false,"platformName":"Android"},null,{"firstMatch":[{"udid":"86501a68f79700000000","deviceName":"OCTP_7","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","automationName":"uiautomator2","newCommandTimeout":180,"fullReset":false,"platformName":"Android"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1509629019092 (09:23:39 GMT-0400 (Eastern Daylight Time))
[Appium] Creating new AndroidUiautomator2Driver (v0.6.5) session
[Appium] Capabilities:
[Appium] udid: '86501a68f79700000000'
[Appium] deviceName: 'OCTP_7'
[Appium] appPackage: 'com.lci1.one'
[Appium] appActivity: 'md514e745197d12febda9505d9609e0ec28.SplashScreen'
[Appium] automationName: 'uiautomator2'
[Appium] newCommandTimeout: 180
[Appium] fullReset: false
[Appium] platformName: 'Android'
[BaseDriver] Session created with session id: 5737e507-c923-44ec-a340-3d5b43215dd6
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_131
[ADB] Checking whether adb is present
[ADB] Using adb.exe from C:\Program Files (x86)\Android\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] 2 device(s) connected
[AndroidDriver] Using device: 86501a68f79700000000
[ADB] Checking whether adb is present
[ADB] Using adb.exe from C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe
[debug] [ADB] Setting device id to 86501a68f79700000000
[AndroidDriver] No app sent in, not parsing package/activity
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","getprop","ro.build.version.release"]
[debug] [ADB] Current device property 'ro.build.version.release': 4.4.2
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","wm","size"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","getprop","ro.product.model"]
[debug] [ADB] Current device property 'ro.product.model': OCTP_7
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","getprop","ro.product.manufacturer"]
[debug] [ADB] Current device property 'ro.product.manufacturer': softwinner
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","am","force-stop","io.appium.uiautomator2.server"]
[ADB] Checking whether aapt is present
[ADB] Using aapt.exe from C:\Program Files (x86)\Android\android-sdk\build-tools\25.0.3\aapt.exe
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","pm","list","packages","io.appium.uiautomator2.server"]
[debug] [ADB] App is installed
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","pm","list","packages","io.appium.uiautomator2.server.test"]
[debug] [ADB] App is installed
[debug] [ADB] Getting package info for io.appium.uiautomator2.server
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","dumpsys","package","io.appium.uiautomator2.server"]
[debug] [UiAutomator2] Waiting up to 20000ms for instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' to be available
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","pm","list","instrumentation"]
[debug] [UiAutomator2] Instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' available
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Uninstalling and re-installing 'io.appium.settings'
[debug] [ADB] Uninstalling io.appium.settings
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","pm","list","packages","io.appium.settings"]
[debug] [ADB] App is installed
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","am","force-stop","io.appium.settings"]
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","uninstall","io.appium.settings"]
[debug] [ADB] ADB command output: Success
[ADB] io.appium.settings was successfully uninstalled
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","pm","list","packages","io.appium.settings"]
[debug] [ADB] App is not installed
[debug] [ADB] App 'C:\Users\ShaneLCI\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\app\build\outputs\apk\settings_apk-debug.apk' not installed. Installing
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","install","C:\\Users\\ShaneLCI\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\io.appium.settings\\app\\build\\outputs\\apk\\settings_apk-debug.apk"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","getprop","ro.build.version.sdk"]
[debug] [ADB] Current device property 'ro.build.version.sdk': 19
[debug] [ADB] Device API level: 19
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","dumpsys","package","io.appium.settings"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","ps"]
[debug] [ADB] Device API level: 19
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","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: 19
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","settings","put","secure","mock_location","1"]
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","install","C:\\Users\\ShaneLCI\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-unlock\\bin\\unlock_apk-debug.apk"]
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8203
[debug] [ADB] Forwarding system: 8203 to device: 6790
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","forward","tcp:8203","tcp:6790"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [AndroidDriver] Extracting strings from apk null null C:\Users\ShaneLCI\AppData\Local\Temp\com.lci1.one
[debug] [ADB] Extracting strings for language: default
[debug] [ADB] Device API level: 19
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","getprop","persist.sys.language"]
[debug] [ADB] Current device property 'persist.sys.language': en
[debug] [ADB] No strings.xml for language 'en', getting default strings.xml
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","rm","-rf","/data/local/tmp/strings.json"]
[debug] [UiAutomator2] No app capability. Assuming it is already on the device
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","am","force-stop","com.lci1.one"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","pm","clear","com.lci1.one"]
[debug] [ADB] APK doesn't exist. null
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","am","force-stop","io.appium.uiautomator2.server"]
[UiAutomator2] Starting uiautomator2 server v0.1.8
[UiAutomator2] Running command: 'adb -s 86501a68f79700000000 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:8203/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8203/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8203/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8203/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8203/wd/hub/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\"value\":\"Status Invoked\",\"status\":0,\"sessionId\":\"SESSIONID\"}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8203/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"udid":"86501a68f79700000000","deviceName":"OCTP_7","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","automationName":"uiautomator2","newCommandTimeout":180,"fullReset":false,"platformName":"Android"},"udid":"86501a68f79700000000","deviceName":"86501a68f79700000000","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","automationName":"uiautomator2","newCommandTimeout":180,"fullReset":false,"platformName":"Android","deviceUDID":"86501a68f79700000000","platformVersion":"4.4.2","deviceScreenSize":"1024x600","deviceModel":"OCTP_7","deviceManufacturer":"softwinner"}}
[debug] [UiAutomator2] Deleting UiAutomator2 session
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: Error: Trying to proxy a session command without session id
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","shell","am","force-stop","com.lci1.one"]
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8203
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","86501a68f79700000000","forward","--remove","tcp:8203"]
=================
second log
=================
...starting appium...
[Appium] Welcome to Appium v1.7.1
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] port: 4724
[Appium] Appium REST http interface listener started on 127.0.0.1:4724
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"udid":"03501af696b500000000","deviceName":"OCTP_5","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","automationName":"uiautomator2","newCommandTimeout":180,"fullReset":false,"platformName":"Android"},"capabilities":{"firstMatch":[{"udid":"03501af696b500000000","deviceName":"OCTP_5","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","automationName":"uiautomator2","newCommandTimeout":180,"fullReset":false,"platformName":"Android"}]}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"udid":"03501af696b500000000","deviceName":"OCTP_5","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","automationName":"uiautomator2","newCommandTimeout":180,"fullReset":false,"platformName":"Android"},null,{"firstMatch":[{"udid":"03501af696b500000000","deviceName":"OCTP_5","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","automationName":"uiautomator2","newCommandTimeout":180,"fullReset":false,"platformName":"Android"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1509629019092 (09:23:39 GMT-0400 (Eastern Daylight Time))
[Appium] Creating new AndroidUiautomator2Driver (v0.6.5) session
[Appium] Capabilities:
[Appium] udid: '03501af696b500000000'
[Appium] deviceName: 'OCTP_5'
[Appium] appPackage: 'com.lci1.one'
[Appium] appActivity: 'md514e745197d12febda9505d9609e0ec28.SplashScreen'
[Appium] automationName: 'uiautomator2'
[Appium] newCommandTimeout: 180
[Appium] fullReset: false
[Appium] platformName: 'Android'
[BaseDriver] Session created with session id: 7579584f-becc-4cf5-a9c0-749bf29de268
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_131
[ADB] Checking whether adb is present
[ADB] Using adb.exe from C:\Program Files (x86)\Android\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] 2 device(s) connected
[AndroidDriver] Using device: 03501af696b500000000
[ADB] Checking whether adb is present
[ADB] Using adb.exe from C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe
[debug] [ADB] Setting device id to 03501af696b500000000
[AndroidDriver] No app sent in, not parsing package/activity
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","getprop","ro.build.version.release"]
[debug] [ADB] Current device property 'ro.build.version.release': 4.4.2
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","wm","size"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","getprop","ro.product.model"]
[debug] [ADB] Current device property 'ro.product.model': OCTP_5
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","getprop","ro.product.manufacturer"]
[debug] [ADB] Current device property 'ro.product.manufacturer': softwinner
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","am","force-stop","io.appium.uiautomator2.server"]
[ADB] Checking whether aapt is present
[ADB] Using aapt.exe from C:\Program Files (x86)\Android\android-sdk\build-tools\25.0.3\aapt.exe
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","pm","list","packages","io.appium.uiautomator2.server"]
[debug] [ADB] App is installed
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","pm","list","packages","io.appium.uiautomator2.server.test"]
[debug] [ADB] App is installed
[debug] [ADB] Getting package info for io.appium.uiautomator2.server
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","dumpsys","package","io.appium.uiautomator2.server"]
[debug] [UiAutomator2] Waiting up to 20000ms for instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' to be available
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","pm","list","instrumentation"]
[debug] [UiAutomator2] Instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' available
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Uninstalling and re-installing 'io.appium.settings'
[debug] [ADB] Uninstalling io.appium.settings
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","pm","list","packages","io.appium.settings"]
[debug] [ADB] App is installed
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","am","force-stop","io.appium.settings"]
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","uninstall","io.appium.settings"]
[debug] [ADB] ADB command output: Success
[ADB] io.appium.settings was successfully uninstalled
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","pm","list","packages","io.appium.settings"]
[debug] [ADB] App is not installed
[debug] [ADB] App 'C:\Users\ShaneLCI\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\app\build\outputs\apk\settings_apk-debug.apk' not installed. Installing
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","install","C:\\Users\\ShaneLCI\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\io.appium.settings\\app\\build\\outputs\\apk\\settings_apk-debug.apk"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","getprop","ro.build.version.sdk"]
[debug] [ADB] Current device property 'ro.build.version.sdk': 19
[debug] [ADB] Device API level: 19
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","dumpsys","package","io.appium.settings"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","ps"]
[debug] [ADB] Device API level: 19
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","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: 19
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","settings","put","secure","mock_location","1"]
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","install","C:\\Users\\ShaneLCI\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-unlock\\bin\\unlock_apk-debug.apk"]
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8203
[debug] [ADB] Forwarding system: 8203 to device: 6790
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","forward","tcp:8203","tcp:6790"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [AndroidDriver] Extracting strings from apk null null C:\Users\ShaneLCI\AppData\Local\Temp\com.lci1.one
[debug] [ADB] Extracting strings for language: default
[debug] [ADB] Device API level: 19
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","getprop","persist.sys.language"]
[debug] [ADB] Current device property 'persist.sys.language': en
[debug] [ADB] No strings.xml for language 'en', getting default strings.xml
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","rm","-rf","/data/local/tmp/strings.json"]
[debug] [UiAutomator2] No app capability. Assuming it is already on the device
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","am","force-stop","com.lci1.one"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","pm","clear","com.lci1.one"]
[debug] [ADB] APK doesn't exist. null
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","am","force-stop","io.appium.uiautomator2.server"]
[UiAutomator2] Starting uiautomator2 server v0.1.8
[UiAutomator2] Running command: 'adb -s 03501af696b500000000 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:8203/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8203/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8203/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8203/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8203/wd/hub/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\"value\":\"Status Invoked\",\"status\":0,\"sessionId\":\"SESSIONID\"}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8203/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"udid":"03501af696b500000000","deviceName":"OCTP_5","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","automationName":"uiautomator2","newCommandTimeout":180,"fullReset":false,"platformName":"Android"},"udid":"03501af696b500000000","deviceName":"03501af696b500000000","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","automationName":"uiautomator2","newCommandTimeout":180,"fullReset":false,"platformName":"Android","deviceUDID":"03501af696b500000000","platformVersion":"4.4.2","deviceScreenSize":"800x480","deviceModel":"OCTP_5","deviceManufacturer":"softwinner"}}
[debug] [JSONWP Proxy] Got response with status 200: {"value":"Created Session","status":0,"sessionId":"1aa51352-415a-4883-a3a4-ecc0ffeb003e"}
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.lci1.one/md514e745197d12febda9505d9609e0ec28.SplashScreen'. Starting it ourselves
[debug] [ADB] Device API level: 19
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","am","start","-W","-n","com.lci1.one/md514e745197d12febda9505d9609e0ec28.SplashScreen","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[Appium] New AndroidUiautomator2Driver session created successfully, session 7579584f-becc-4cf5-a9c0-749bf29de268 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1509629049290 (09:24:09 GMT-0400 (Eastern Daylight Time))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"udid":"03501af696b500000000","deviceName":"OCTP_5","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","automationName":"uiautomator2","newCommandTimeout":180,"fullReset":false,"platformName":"Android"}
[HTTP] <-- POST /wd/hub/session 200 30206 ms - 317
[HTTP] --> POST /wd/hub/session/7579584f-becc-4cf5-a9c0-749bf29de268/timeouts {"type":"implicit","ms":7000}
[debug] [MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",7000,"7579584f-becc-4cf5-a9c0-749bf29de268"]
[debug] [BaseDriver] Set implicit wait to 7000ms
[debug] [MJSONWP] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/7579584f-becc-4cf5-a9c0-749bf29de268/timeouts 200 6 ms - 76
[HTTP] --> POST /wd/hub/session/7579584f-becc-4cf5-a9c0-749bf29de268/timeouts {"type":"implicit","ms":7000}
[debug] [MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",7000,"7579584f-becc-4cf5-a9c0-749bf29de268"]
[debug] [BaseDriver] Set implicit wait to 7000ms
[debug] [MJSONWP] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/7579584f-becc-4cf5-a9c0-749bf29de268/timeouts 200 2 ms - 76
[HTTP] --> POST /wd/hub/session/7579584f-becc-4cf5-a9c0-749bf29de268/element {"using":"-android uiautomator","value":"UiSelector().text(\"Lighting\")"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator","UiSelector().text(\"Lighting\")","7579584f-becc-4cf5-a9c0-749bf29de268"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 7000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8203/wd/hub/session/1aa51352-415a-4883-a3a4-ecc0ffeb003e/element] with body: {"strategy":"-android uiautomator","selector":"UiSelector().text(\"Lighting\")","context":"","multiple":false}
[HTTP] <-- POST /wd/hub/session/7579584f-becc-4cf5-a9c0-749bf29de268/element 500 1020 ms - 271
[HTTP] --> POST /wd/hub/session/7579584f-becc-4cf5-a9c0-749bf29de268/element {"using":"-android uiautomator","value":"UiSelector().text(\"Cabinet\")"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator","UiSelector().text(\"Cabinet\")","7579584f-becc-4cf5-a9c0-749bf29de268"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 7000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8203/wd/hub/session/1aa51352-415a-4883-a3a4-ecc0ffeb003e/element] with body: {"strategy":"-android uiautomator","selector":"UiSelector().text(\"Cabinet\")","context":"","multiple":false}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment