Skip to content

Instantly share code, notes, and snippets.

@aaltat
Created November 2, 2017 12:39
Show Gist options
  • Save aaltat/8ac5e179c04490cf87614a2b2015d491 to your computer and use it in GitHub Desktop.
Save aaltat/8ac5e179c04490cf87614a2b2015d491 to your computer and use it in GitHub Desktop.
appium_two_sessions.log
2017-11-02 14:32:25:793 - [Appium] Welcome to Appium v1.7.1
2017-11-02 14:32:25:793 - [Appium] Non-default server args:
2017-11-02 14:32:25:793 - [Appium] address: 127.0.0.1
2017-11-02 14:32:25:793 - [Appium] logTimestamp: true
2017-11-02 14:32:25:793 - [Appium] localTimezone: true
2017-11-02 14:32:25:793 - [Appium] logNoColors: true
2017-11-02 14:32:25:793 - [Appium] suppressKillServer: true
2017-11-02 14:32:25:793 - [Appium] defaultCapabilities: {
2017-11-02 14:32:25:793 - [Appium] newCommandTimeout: 120
2017-11-02 14:32:25:793 - [Appium] noReset: true
2017-11-02 14:32:25:793 - [Appium] fullReset: false
2017-11-02 14:32:25:793 - [Appium] udid: 3a21b2bd
2017-11-02 14:32:25:793 - [Appium] automationName: uiautomator2
2017-11-02 14:32:25:793 - [Appium] }
2017-11-02 14:32:25:793 - [Appium] Default capabilities, which will be added to each reque
st unless overridden by desired capabilities:
2017-11-02 14:32:25:808 - [Appium] newCommandTimeout: 120
2017-11-02 14:32:25:808 - [Appium] noReset: true
2017-11-02 14:32:25:808 - [Appium] fullReset: false
2017-11-02 14:32:25:808 - [Appium] udid: '3a21b2bd'
2017-11-02 14:32:25:808 - [Appium] automationName: 'uiautomator2'
2017-11-02 14:32:25:871 - [Appium] Appium REST http interface listener started on 127.0.0.
1:4723
2017-11-02 14:32:37:164 - [HTTP] --> POST /wd/hub/session {"capabilities":{"alwaysMatch":{
"platformName":"android"},"firstMatch":[{}]},"desiredCapabilities":{"platformVersion":"6.0
.1","appPackage":"com.android.settings","platformName":"android","appActivity":".Settings"
,"deviceName":"Samsung_J5"}}
2017-11-02 14:32:37:164 - [debug] [MJSONWP] Calling AppiumDriver.createSession() with args
: [{"platformVersion":"6.0.1","appPackage":"com.android.settings","platformName":"android"
,"appActivity":".Settings","deviceName":"Samsung_J5"},null,{"alwaysMatch":{"platformName":
"android"},"firstMatch":[{}]}]
2017-11-02 14:32:37:164 - [debug] [BaseDriver] Event 'newSessionRequested' logged at 15096
25957164 (14:32:37 GMT+0200 (FLE Standard Time))
2017-11-02 14:32:37:179 - [Appium] Creating new AndroidUiautomator2Driver (v0.6.5) session
2017-11-02 14:32:37:179 - [Appium] Capabilities:
2017-11-02 14:32:37:179 - [Appium] platformVersion: '6.0.1'
2017-11-02 14:32:37:179 - [Appium] appPackage: 'com.android.settings'
2017-11-02 14:32:37:179 - [Appium] platformName: 'android'
2017-11-02 14:32:37:179 - [Appium] appActivity: '.Settings'
2017-11-02 14:32:37:179 - [Appium] deviceName: 'Samsung_J5'
2017-11-02 14:32:37:179 - [Appium] newCommandTimeout: 120
2017-11-02 14:32:37:179 - [Appium] noReset: true
2017-11-02 14:32:37:179 - [Appium] fullReset: false
2017-11-02 14:32:37:179 - [Appium] udid: '3a21b2bd'
2017-11-02 14:32:37:179 - [Appium] automationName: 'uiautomator2'
2017-11-02 14:32:37:195 - [BaseDriver] Session created with session id: 525addb0-7fd6-495b
-b883-3a5d98eb611e
2017-11-02 14:32:37:616 - [debug] [AndroidDriver] Getting Java version
2017-11-02 14:32:37:911 - [AndroidDriver] Java version is: 1.8.0_144
2017-11-02 14:32:37:911 - [ADB] Checking whether adb is present
2017-11-02 14:32:37:927 - [ADB] Using adb.exe from C:\Aps\Android-SDK\ADB-1.0.39\platform-
tools\adb.exe
2017-11-02 14:32:37:927 - [AndroidDriver] Retrieving device list
2017-11-02 14:32:37:927 - [debug] [ADB] Trying to find a connected android device
2017-11-02 14:32:37:927 - [debug] [ADB] Getting connected devices...
2017-11-02 14:32:37:989 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:32:37:989 - [AndroidDriver] Using device: 3a21b2bd
2017-11-02 14:32:38:005 - [ADB] Checking whether adb is present
2017-11-02 14:32:38:005 - [ADB] Using adb.exe from C:\Aps\Android-SDK\ADB-1.0.39\platform-
tools\adb.exe
2017-11-02 14:32:38:005 - [debug] [ADB] Setting device id to 3a21b2bd
2017-11-02 14:32:38:005 - [AndroidDriver] No app sent in, not parsing package/activity
2017-11-02 14:32:38:005 - [ADB] Getting device platform version
2017-11-02 14:32:38:005 - [debug] [ADB] Getting connected devices...
2017-11-02 14:32:38:036 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:32:38:052 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","getprop","ro.build.version.rel
ease"]
2017-11-02 14:32:38:145 - [debug] [ADB] Current device property 'ro.build.version.release'
: 6.0.1
2017-11-02 14:32:38:145 - [debug] [ADB] Getting connected devices...
2017-11-02 14:32:38:212 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:32:38:213 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","wm","size"]
2017-11-02 14:32:39:654 - [debug] [ADB] Getting connected devices...
2017-11-02 14:32:39:716 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:32:39:716 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","getprop","ro.product.model"]
2017-11-02 14:32:39:841 - [debug] [ADB] Current device property 'ro.product.model': SM-J51
0FN
2017-11-02 14:32:39:841 - [debug] [ADB] Getting connected devices...
2017-11-02 14:32:39:888 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:32:39:903 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","getprop","ro.product.manufactu
rer"]
2017-11-02 14:32:39:981 - [debug] [ADB] Current device property 'ro.product.manufacturer':
samsung
2017-11-02 14:32:39:981 - [debug] [ADB] Getting connected devices...
2017-11-02 14:32:40:028 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:32:40:028 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","am","force-stop","io.appium.ui
automator2.server"]
2017-11-02 14:32:41:479 - [ADB] Checking whether aapt is present
2017-11-02 14:32:41:479 - [ADB] Using aapt.exe from C:\Aps\Android-SDK\ADB-1.0.39\build-to
ols\22.0.1\aapt.exe
2017-11-02 14:32:41:526 - [debug] [ADB] Getting install status for io.appium.uiautomator2.
server
2017-11-02 14:32:41:526 - [debug] [ADB] Getting connected devices...
2017-11-02 14:32:41:574 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:32:41:574 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","pm","list","packages","io.appi
um.uiautomator2.server"]
2017-11-02 14:32:42:822 - [debug] [ADB] App is installed
2017-11-02 14:32:42:822 - [debug] [ADB] Getting install status for io.appium.uiautomator2.
server.test
2017-11-02 14:32:42:837 - [debug] [ADB] Getting connected devices...
2017-11-02 14:32:42:884 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:32:42:884 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","pm","list","packages","io.appi
um.uiautomator2.server.test"]
2017-11-02 14:32:44:134 - [debug] [ADB] App is installed
2017-11-02 14:32:44:134 - [debug] [ADB] Getting package info for io.appium.uiautomator2.se
rver
2017-11-02 14:32:44:150 - [debug] [ADB] Getting connected devices...
2017-11-02 14:32:44:203 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:32:44:203 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","dumpsys","package","io.appium.
uiautomator2.server"]
2017-11-02 14:32:44:313 - [debug] [UiAutomator2] Waiting up to 20000ms for instrumentation
'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' to be
available
2017-11-02 14:32:44:328 - [debug] [ADB] Getting connected devices...
2017-11-02 14:32:44:375 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:32:44:375 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","pm","list","instrumentation"]
2017-11-02 14:32:45:581 - [debug] [UiAutomator2] Instrumentation 'io.appium.uiautomator2.s
erver.test/android.support.test.runner.AndroidJUnitRunner' available
2017-11-02 14:32:45:581 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","wait-for-device"]
2017-11-02 14:32:45:644 - [debug] [ADB] Getting connected devices...
2017-11-02 14:32:45:706 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:32:45:706 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","echo","ping"]
2017-11-02 14:32:45:768 - [debug] [Logcat] Starting logcat capture
2017-11-02 14:32:45:862 - [debug] [AndroidDriver] Pushing settings apk to device...
2017-11-02 14:32:45:862 - [debug] [ADB] Uninstalling and re-installing 'io.appium.settings
'
2017-11-02 14:32:45:862 - [debug] [ADB] Uninstalling io.appium.settings
2017-11-02 14:32:45:862 - [debug] [ADB] Getting install status for io.appium.settings
2017-11-02 14:32:45:862 - [debug] [ADB] Getting connected devices...
2017-11-02 14:32:45:909 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:32:45:909 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","pm","list","packages","io.appi
um.settings"]
2017-11-02 14:32:47:237 - [debug] [ADB] App is installed
2017-11-02 14:32:47:237 - [debug] [ADB] Getting connected devices...
2017-11-02 14:32:47:299 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:32:47:299 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","am","force-stop","io.appium.se
ttings"]
2017-11-02 14:32:48:845 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","uninstall","io.appium.settings"]
2017-11-02 14:32:50:811 - [debug] [ADB] ADB command output: Success
2017-11-02 14:32:50:811 - [ADB] io.appium.settings was successfully uninstalled
2017-11-02 14:32:50:811 - [debug] [ADB] Getting install status for io.appium.settings
2017-11-02 14:32:50:811 - [debug] [ADB] Getting connected devices...
2017-11-02 14:32:50:874 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:32:50:874 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","pm","list","packages","io.appi
um.settings"]
2017-11-02 14:32:52:357 - [debug] [ADB] App is not installed
2017-11-02 14:32:52:372 - [debug] [ADB] App 'C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm
\node_modules\appium\node_modules\io.appium.settings\app\build\outputs\apk\settings_apk-de
bug.apk' not installed. Installing
2017-11-02 14:32:52:372 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","install","C:\\Users\\taalto.CRFHEALTH\
\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\io.appium.settings\\app\\build
\\outputs\\apk\\settings_apk-debug.apk"]
2017-11-02 14:32:55:179 - [debug] [ADB] Getting connected devices...
2017-11-02 14:32:55:226 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:32:55:226 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","getprop","ro.build.version.sdk
"]
2017-11-02 14:32:55:320 - [debug] [ADB] Current device property 'ro.build.version.sdk': 23
2017-11-02 14:32:55:320 - [debug] [ADB] Device API level: 23
2017-11-02 14:32:55:320 - [debug] [ADB] Getting connected devices...
2017-11-02 14:32:55:367 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:32:55:367 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","dumpsys","package","io.appium.
settings"]
2017-11-02 14:32:55:476 - [debug] [ADB] Getting connected devices...
2017-11-02 14:32:55:538 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:32:55:538 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","pm","dump","io.appium.settings
"]
2017-11-02 14:32:57:633 - [debug] [ADB] Got the following command chunks to execute: pm,gr
ant,io.appium.settings,android.permission.INTERNET,;,pm,grant,io.appium.settings,android.p
ermission.CHANGE_NETWORK_STATE,;,pm,grant,io.appium.settings,android.permission.ACCESS_NET
WORK_STATE,;,pm,grant,io.appium.settings,android.permission.READ_PHONE_STATE,;,pm,grant,io
.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.p
ermission.CHANGE_WIFI_STATE,;,pm,grant,io.appium.settings,android.permission.ACCESS_WIFI_S
TATE,;,pm,grant,io.appium.settings,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,io.a
ppium.settings,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,io.appium.settings,and
roid.permission.ACCESS_MOCK_LOCATION,;,pm,grant,io.appium.settings,android.permission.SET_
ANIMATION_SCALE,;
2017-11-02 14:32:57:633 - [debug] [ADB] Getting connected devices...
2017-11-02 14:32:57:679 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:32:57:679 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","pm","grant","io.appium.setting
s","android.permission.INTERNET",";","pm","grant","io.appium.settings","android.permission
.CHANGE_NETWORK_STATE",";","pm","grant","io.appium.settings","android.permission.ACCESS_NE
TWORK_STATE",";","pm","grant","io.appium.settings","android.permission.READ_PHONE_STATE","
;","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant",
"io.appium.settings","android.permission.CHANGE_WIFI_STATE",";","pm","grant","io.appium.se
ttings","android.permission.ACCESS_WIFI_STATE",";","pm","grant","io.appium.settings","andr
oid.permission.ACCESS_FINE_LOCATION",";","pm","grant","io.appium.settings","android.permis
sion.ACCESS_COARSE_LOCATION",";","pm","grant","io.appium.settings","android.permission.ACC
ESS_MOCK_LOCATION",";","pm","grant","io.appium.settings","android.permission.SET_ANIMATION
_SCALE",";"]
2017-11-02 14:33:10:250 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:10:298 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:10:298 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","ps"]
2017-11-02 14:33:10:532 - [debug] [ADB] Device API level: 23
2017-11-02 14:33:10:532 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:10:578 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:10:578 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","am","start","-W","-n","io.appi
um.settings/.Settings","-a","android.intent.action.MAIN","-c","android.intent.category.LAU
NCHER","-f","0x10200000"]
2017-11-02 14:33:12:362 - [debug] [ADB] Device API level: 23
2017-11-02 14:33:12:362 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:12:425 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:12:425 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","appops","set","io.appium.setti
ngs","android:mock_location","allow"]
2017-11-02 14:33:13:873 - [debug] [AndroidDriver] Pushing unlock helper app to device...
2017-11-02 14:33:13:873 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","install","C:\\Users\\taalto.CRFHEALTH\
\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-unlock\\bin\\unlock_apk
-debug.apk"]
2017-11-02 14:33:15:530 - [debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790
to 8201
2017-11-02 14:33:15:530 - [debug] [ADB] Forwarding system: 8201 to device: 6790
2017-11-02 14:33:15:530 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","forward","tcp:8201","tcp:6790"]
2017-11-02 14:33:15:590 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:15:637 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:15:637 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","dumpsys","window"]
2017-11-02 14:33:15:746 - [AndroidDriver] Screen already unlocked, doing nothing
2017-11-02 14:33:15:746 - [debug] [AndroidDriver] Extracting strings from apk null null C:
\Users\TAALTO~1.CRF\AppData\Local\Temp\com.android.settings
2017-11-02 14:33:15:746 - [debug] [ADB] Extracting strings for language: default
2017-11-02 14:33:15:762 - [debug] [ADB] Device API level: 23
2017-11-02 14:33:15:762 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:15:824 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:15:824 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","getprop","persist.sys.locale"]
2017-11-02 14:33:15:902 - [debug] [ADB] Current device property 'persist.sys.locale': en-U
S
2017-11-02 14:33:16:108 - [debug] [ADB] No strings.xml for language 'en', getting default
strings.xml
2017-11-02 14:33:16:345 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:16:376 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:16:376 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","rm","-rf","/data/local/tmp/str
ings.json"]
2017-11-02 14:33:16:470 - [debug] [UiAutomator2] No app capability. Assuming it is already
on the device
2017-11-02 14:33:16:470 - [debug] [ADB] APK doesn't exist. null
2017-11-02 14:33:16:470 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:16:501 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:16:517 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","am","force-stop","io.appium.ui
automator2.server"]
2017-11-02 14:33:17:908 - [UiAutomator2] Starting uiautomator2 server v0.1.8
2017-11-02 14:33:17:908 - [UiAutomator2] Running command: 'adb -s 3a21b2bd shell am instru
ment -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner'
2017-11-02 14:33:17:908 - [UiAutomator2] Waiting up to 20000ms for UiAutomator2 to be onli
ne...
2017-11-02 14:33:17:924 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://loc
alhost:8201/wd/hub/status] with no body
2017-11-02 14:33:19:003 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://loc
alhost:8201/wd/hub/status] with no body
2017-11-02 14:33:20:033 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://loc
alhost:8201/wd/hub/status] with no body
2017-11-02 14:33:21:047 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://loc
alhost:8201/wd/hub/status] with no body
2017-11-02 14:33:22:063 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://loc
alhost:8201/wd/hub/status] with no body
2017-11-02 14:33:22:125 - [debug] [JSONWP Proxy] Got response with status 200: "{\"session
Id\":\"SESSIONID\",\"status\":0,\"value\":\"Status Invoked\"}"
2017-11-02 14:33:22:125 - [debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://
localhost:8201/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webS
torageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":fal
se,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":
{"platformVersion":"6.0.1","appPackage":"com.android.settings","platformName":"android","a
ppActivity":".Settings","deviceName":"Samsung_J5","newCommandTimeout":120,"noReset":true,"
fullReset":false,"udid":"3a21b2bd","automationName":"uiautomator2"},"platformVersion":"6.0
.1","appPackage":"com.android.settings","platformName":"android","appActivity":".Settings"
,"deviceName":"3a21b2bd","newCommandTimeout":120,"noReset":true,"fullReset":false,"udid":"
3a21b2bd","automationName":"uiautomator2","deviceUDID":"3a21b2bd","deviceScreenSize":"720x
1280","deviceModel":"SM-J510FN","deviceManufacturer":"samsung"}}
2017-11-02 14:33:22:156 - [debug] [JSONWP Proxy] Got response with status 200: {"sessionId
":"30d6093d-a5ba-4976-83d8-c36e18332b54","status":0,"value":"Created Session"}
2017-11-02 14:33:22:156 - [UiAutomator2] UiAutomator2 did not start the activity we were w
aiting for, 'com.android.settings/.Settings'. Starting it ourselves
2017-11-02 14:33:22:156 - [debug] [ADB] Device API level: 23
2017-11-02 14:33:22:156 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:22:187 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:22:203 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","am","start","-W","-n","com.and
roid.settings/.Settings","-S","-a","android.intent.action.MAIN","-c","android.intent.categ
ory.LAUNCHER","-f","0x10200000"]
2017-11-02 14:33:24:528 - [Appium] New AndroidUiautomator2Driver session created successfu
lly, session 525addb0-7fd6-495b-b883-3a5d98eb611e added to master session list
2017-11-02 14:33:24:528 - [debug] [BaseDriver] Event 'newSessionStarted' logged at 1509626
004528 (14:33:24 GMT+0200 (FLE Standard Time))
2017-11-02 14:33:24:528 - [debug] [MJSONWP] Responding to client with driver.createSession
() result: {"platformVersion":"6.0.1","appPackage":"com.android.settings","platformName":"
android","appActivity":".Settings","deviceName":"Samsung_J5","newCommandTimeout":120,"noRe
set":true,"fullReset":false,"udid":"3a21b2bd","automationName":"uiautomator2"}
2017-11-02 14:33:24:544 - [HTTP] <-- POST /wd/hub/session 200 47372 ms - 319
2017-11-02 14:33:24:559 - [HTTP] --> POST /wd/hub/session/525addb0-7fd6-495b-b883-3a5d98eb
611e/elements {"using":"xpath","sessionId":"525addb0-7fd6-495b-b883-3a5d98eb611e","value":
"//*"}
2017-11-02 14:33:24:559 - [debug] [MJSONWP] Calling AppiumDriver.findElements() with args:
["xpath","//*","525addb0-7fd6-495b-b883-3a5d98eb611e"]
2017-11-02 14:33:24:575 - [debug] [BaseDriver] Valid locator strategies for this request:
xpath, id, class name, accessibility id, -android uiautomator
2017-11-02 14:33:24:575 - [debug] [BaseDriver] Valid locator strategies for this request:
xpath, id, class name, accessibility id, -android uiautomator
2017-11-02 14:33:24:575 - [debug] [BaseDriver] Waiting up to 0 ms for condition
2017-11-02 14:33:24:575 - [debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http:/
/localhost:8201/wd/hub/session/30d6093d-a5ba-4976-83d8-c36e18332b54/elements] with body: {
"strategy":"xpath","selector":"//*","context":"","multiple":true}
2017-11-02 14:33:25:719 - [debug] [JSONWP Proxy] Got response with status 200: {"sessionId
":"30d6093d-a5ba-4976-83d8-c36e18332b54","status":0,"value":[{"ELEMENT":"0748a826-7839-427
9-82dc-c626b8cb6415"},{"ELEMENT":"7c0d2c2e-c128-4050-9003-30116bc2ac8e"},{"ELEMENT":"fec98
42b-a4ca-4ca0-8f90-72f21e54ecc4"},{"ELEMENT":"8d73fd60-76d0-449f-88fd-2f205164b9e9"},{"ELE
MENT":"5683d917-a7cd-402d-908f-27234be9c4f3"},{"ELEMENT":"58570b37-2298-4490-ae2d-e0e5a9f7
af05"},{"ELEMENT":"a0313921-0b7b-4f02-a0f1-0c1095d87ae4"},{"ELEMENT":"f1eabde3-1815-4190-9
2b4-dc827266218e"},{"ELEMENT":"7890306c-671b-4981-bec4-301dc4dc05d7"},{"ELEMENT":"5dbe16a7
-aa4b-4fcb-a729-412c9e7d052a"},{"ELEMENT":"ab0dd0d2-7836-4495-94af-ca7bb2f38b38"},{"ELEMEN
T":"c82bc113-4d1a-4d5c-9992-0e85f1d542fc"},{"ELEMENT":"35fb3821-9e13-4048-8520-c5ca456f7a4
9"},{"ELEMENT":"41580c3a-7bcf-42cd-a9d8-5b509aa70078"},{"ELEMENT":"95303d4a-dff0-44b4-ac69
-0861c44d7176"},{"ELEMENT":"ef1b7409-a982-4493-a9a2-a1f3dd98914d"},{"ELEMENT":"8882ddff-7d
f0-44f0-94c8-01640fd94870"},{"ELEMENT":"b457d7cf-9a16-4373-b8b7-c99d669bd92f"},{"ELEMENT":
"22363a56-3416-46d2-...
2017-11-02 14:33:25:734 - [debug] [MJSONWP] Responding to client with driver.findElements(
) result: [{"ELEMENT":"0748a826-7839-4279-82dc-c626b8cb6415"},{"ELEMENT":"7c0d2c2e-c128-40
50-9003-30116bc2ac8e"},{"ELEMENT":"fec9842b-a4ca-4ca0-8f90-72f21e54ecc4"},{"ELEMENT":"8d73
fd60-76d0-449f-88fd-2f205164b9e9"},{"ELEMENT":"5683d917-a7cd-402d-908f-27234be9c4f3"},{"EL
EMENT":"58570b37-2298-4490-ae2d-e0e5a9f7af05"},{"ELEMENT":"a0313921-0b7b-4f02-a0f1-0c1095d
87ae4"},{"ELEMENT":"f1eabde3-1815-4190-92b4-dc827266218e"},{"ELEMENT":"7890306c-671b-4981-
bec4-301dc4dc05d7"},{"ELEMENT":"5dbe16a7-aa4b-4fcb-a729-412c9e7d052a"},{"ELEMENT":"ab0dd0d
2-7836-4495-94af-ca7bb2f38b38"},{"ELEMENT":"c82bc113-4d1a-4d5c-9992-0e85f1d542fc"},{"ELEME
NT":"35fb3821-9e13-4048-8520-c5ca456f7a49"},{"ELEMENT":"41580c3a-7bcf-42cd-a9d8-5b509aa700
78"},{"ELEMENT":"95303d4a-dff0-44b4-ac69-0861c44d7176"},{"ELEMENT":"ef1b7409-a982-4493-a9a
2-a1f3dd98914d"},{"ELEMENT":"8882ddff-7df0-44f0-94c8-01640fd94870"},{"ELEMENT":"b457d7cf-9
a16-4373-b8b7-c99d669bd92f"},{"ELEMENT":"22363a56-3416-46d2-bad0-d0c1e10e6a2b"},{"ELEMENT"
:"303456a9-972e-442d-9f15-ad88292f16e6"},...
2017-11-02 14:33:25:734 - [HTTP] <-- POST /wd/hub/session/525addb0-7fd6-495b-b883-3a5d98eb
611e/elements 200 1176 ms - 3847
2017-11-02 14:33:27:735 - [HTTP] --> POST /wd/hub/session {"capabilities":{"alwaysMatch":{
"platformName":"android"},"firstMatch":[{}]},"desiredCapabilities":{"platformVersion":"6.0
.1","appPackage":"com.android.settings","platformName":"android","appActivity":".Settings"
,"deviceName":"Samsung_J5"}}
2017-11-02 14:33:27:751 - [debug] [MJSONWP] Calling AppiumDriver.createSession() with args
: [{"platformVersion":"6.0.1","appPackage":"com.android.settings","platformName":"android"
,"appActivity":".Settings","deviceName":"Samsung_J5"},null,{"alwaysMatch":{"platformName":
"android"},"firstMatch":[{}]}]
2017-11-02 14:33:27:751 - [debug] [BaseDriver] Event 'newSessionRequested' logged at 15096
26007751 (14:33:27 GMT+0200 (FLE Standard Time))
2017-11-02 14:33:27:751 - [Appium] Creating new AndroidUiautomator2Driver (v0.6.5) session
2017-11-02 14:33:27:751 - [Appium] Capabilities:
2017-11-02 14:33:27:751 - [Appium] platformVersion: '6.0.1'
2017-11-02 14:33:27:751 - [Appium] appPackage: 'com.android.settings'
2017-11-02 14:33:27:751 - [Appium] platformName: 'android'
2017-11-02 14:33:27:751 - [Appium] appActivity: '.Settings'
2017-11-02 14:33:27:751 - [Appium] deviceName: 'Samsung_J5'
2017-11-02 14:33:27:751 - [Appium] newCommandTimeout: 120
2017-11-02 14:33:27:751 - [Appium] noReset: true
2017-11-02 14:33:27:751 - [Appium] fullReset: false
2017-11-02 14:33:27:751 - [Appium] udid: '3a21b2bd'
2017-11-02 14:33:27:751 - [Appium] automationName: 'uiautomator2'
2017-11-02 14:33:27:766 - [BaseDriver] Session created with session id: f8a277bf-8e23-4acf
-8ca2-5aa2c95356dc
2017-11-02 14:33:28:188 - [debug] [AndroidDriver] Getting Java version
2017-11-02 14:33:28:363 - [AndroidDriver] Java version is: 1.8.0_144
2017-11-02 14:33:28:363 - [ADB] Checking whether adb is present
2017-11-02 14:33:28:363 - [ADB] Using adb.exe from C:\Aps\Android-SDK\ADB-1.0.39\platform-
tools\adb.exe
2017-11-02 14:33:28:363 - [AndroidDriver] Retrieving device list
2017-11-02 14:33:28:363 - [debug] [ADB] Trying to find a connected android device
2017-11-02 14:33:28:363 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:28:410 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:28:410 - [AndroidDriver] Using device: 3a21b2bd
2017-11-02 14:33:28:410 - [ADB] Checking whether adb is present
2017-11-02 14:33:28:410 - [ADB] Using adb.exe from C:\Aps\Android-SDK\ADB-1.0.39\platform-
tools\adb.exe
2017-11-02 14:33:28:410 - [debug] [ADB] Setting device id to 3a21b2bd
2017-11-02 14:33:28:410 - [AndroidDriver] No app sent in, not parsing package/activity
2017-11-02 14:33:28:410 - [ADB] Getting device platform version
2017-11-02 14:33:28:410 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:28:457 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:28:457 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","getprop","ro.build.version.rel
ease"]
2017-11-02 14:33:28:597 - [debug] [ADB] Current device property 'ro.build.version.release'
: 6.0.1
2017-11-02 14:33:28:597 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:28:660 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:28:660 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","wm","size"]
2017-11-02 14:33:30:064 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:30:126 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:30:126 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","getprop","ro.product.model"]
2017-11-02 14:33:30:220 - [debug] [ADB] Current device property 'ro.product.model': SM-J51
0FN
2017-11-02 14:33:30:235 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:30:282 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:30:282 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","getprop","ro.product.manufactu
rer"]
2017-11-02 14:33:30:376 - [debug] [ADB] Current device property 'ro.product.manufacturer':
samsung
2017-11-02 14:33:30:376 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:30:438 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:30:438 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","am","force-stop","io.appium.ui
automator2.server"]
2017-11-02 14:33:31:868 - [debug] [UiAutomator2] [UIAutomator2]
2017-11-02 14:33:31:868 - [debug] [UiAutomator2] [UIAutomator2] io.appium.uiautomator2.ser
ver.test.AppiumUiAutomator2Server:INSTRUMENTATION_RESULT: shortMsg=Process crashed.
2017-11-02 14:33:31:868 - [debug] [UiAutomator2] [UIAutomator2] INSTRUMENTATION_CODE: 0
2017-11-02 14:33:31:883 - [ADB] Checking whether aapt is present
2017-11-02 14:33:31:900 - [ADB] Using aapt.exe from C:\Aps\Android-SDK\ADB-1.0.39\build-to
ols\22.0.1\aapt.exe
2017-11-02 14:33:31:931 - [debug] [ADB] Getting install status for io.appium.uiautomator2.
server
2017-11-02 14:33:31:931 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:31:978 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:31:978 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","pm","list","packages","io.appi
um.uiautomator2.server"]
2017-11-02 14:33:33:233 - [debug] [ADB] App is installed
2017-11-02 14:33:33:248 - [debug] [ADB] Getting install status for io.appium.uiautomator2.
server.test
2017-11-02 14:33:33:248 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:33:295 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:33:295 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","pm","list","packages","io.appi
um.uiautomator2.server.test"]
2017-11-02 14:33:34:543 - [debug] [ADB] App is installed
2017-11-02 14:33:34:543 - [debug] [ADB] Getting package info for io.appium.uiautomator2.se
rver
2017-11-02 14:33:34:543 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:34:606 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:34:606 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","dumpsys","package","io.appium.
uiautomator2.server"]
2017-11-02 14:33:34:718 - [debug] [UiAutomator2] Waiting up to 20000ms for instrumentation
'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' to be
available
2017-11-02 14:33:34:718 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:34:765 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:34:765 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","pm","list","instrumentation"]
2017-11-02 14:33:35:969 - [debug] [UiAutomator2] Instrumentation 'io.appium.uiautomator2.s
erver.test/android.support.test.runner.AndroidJUnitRunner' available
2017-11-02 14:33:35:969 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","wait-for-device"]
2017-11-02 14:33:36:016 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:36:062 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:36:062 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","echo","ping"]
2017-11-02 14:33:36:125 - [debug] [Logcat] Starting logcat capture
2017-11-02 14:33:36:203 - [debug] [AndroidDriver] Pushing settings apk to device...
2017-11-02 14:33:36:203 - [debug] [ADB] Uninstalling and re-installing 'io.appium.settings
'
2017-11-02 14:33:36:203 - [debug] [ADB] Uninstalling io.appium.settings
2017-11-02 14:33:36:203 - [debug] [ADB] Getting install status for io.appium.settings
2017-11-02 14:33:36:203 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:36:250 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:36:250 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","pm","list","packages","io.appi
um.settings"]
2017-11-02 14:33:37:889 - [debug] [ADB] App is installed
2017-11-02 14:33:37:889 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:37:935 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:37:935 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","am","force-stop","io.appium.se
ttings"]
2017-11-02 14:33:39:355 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","uninstall","io.appium.settings"]
2017-11-02 14:33:41:183 - [debug] [ADB] ADB command output: Success
2017-11-02 14:33:41:183 - [ADB] io.appium.settings was successfully uninstalled
2017-11-02 14:33:41:183 - [debug] [ADB] Getting install status for io.appium.settings
2017-11-02 14:33:41:183 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:41:245 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:41:245 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","pm","list","packages","io.appi
um.settings"]
2017-11-02 14:33:42:689 - [debug] [ADB] App is not installed
2017-11-02 14:33:42:689 - [debug] [ADB] App 'C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm
\node_modules\appium\node_modules\io.appium.settings\app\build\outputs\apk\settings_apk-de
bug.apk' not installed. Installing
2017-11-02 14:33:42:689 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","install","C:\\Users\\taalto.CRFHEALTH\
\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\io.appium.settings\\app\\build
\\outputs\\apk\\settings_apk-debug.apk"]
2017-11-02 14:33:44:876 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:44:939 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:44:939 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","getprop","ro.build.version.sdk
"]
2017-11-02 14:33:45:032 - [debug] [ADB] Current device property 'ro.build.version.sdk': 23
2017-11-02 14:33:45:032 - [debug] [ADB] Device API level: 23
2017-11-02 14:33:45:032 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:45:063 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:45:063 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","dumpsys","package","io.appium.
settings"]
2017-11-02 14:33:45:188 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:45:235 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:45:235 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","pm","dump","io.appium.settings
"]
2017-11-02 14:33:47:015 - [debug] [ADB] Got the following command chunks to execute: pm,gr
ant,io.appium.settings,android.permission.INTERNET,;,pm,grant,io.appium.settings,android.p
ermission.CHANGE_NETWORK_STATE,;,pm,grant,io.appium.settings,android.permission.ACCESS_NET
WORK_STATE,;,pm,grant,io.appium.settings,android.permission.READ_PHONE_STATE,;,pm,grant,io
.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.p
ermission.CHANGE_WIFI_STATE,;,pm,grant,io.appium.settings,android.permission.ACCESS_WIFI_S
TATE,;,pm,grant,io.appium.settings,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,io.a
ppium.settings,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,io.appium.settings,and
roid.permission.ACCESS_MOCK_LOCATION,;,pm,grant,io.appium.settings,android.permission.SET_
ANIMATION_SCALE,;
2017-11-02 14:33:47:015 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:47:062 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:47:062 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","pm","grant","io.appium.setting
s","android.permission.INTERNET",";","pm","grant","io.appium.settings","android.permission
.CHANGE_NETWORK_STATE",";","pm","grant","io.appium.settings","android.permission.ACCESS_NE
TWORK_STATE",";","pm","grant","io.appium.settings","android.permission.READ_PHONE_STATE","
;","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant",
"io.appium.settings","android.permission.CHANGE_WIFI_STATE",";","pm","grant","io.appium.se
ttings","android.permission.ACCESS_WIFI_STATE",";","pm","grant","io.appium.settings","andr
oid.permission.ACCESS_FINE_LOCATION",";","pm","grant","io.appium.settings","android.permis
sion.ACCESS_COARSE_LOCATION",";","pm","grant","io.appium.settings","android.permission.ACC
ESS_MOCK_LOCATION",";","pm","grant","io.appium.settings","android.permission.SET_ANIMATION
_SCALE",";"]
2017-11-02 14:33:59:612 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:59:674 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:59:674 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","ps"]
2017-11-02 14:33:59:892 - [debug] [ADB] Device API level: 23
2017-11-02 14:33:59:892 - [debug] [ADB] Getting connected devices...
2017-11-02 14:33:59:955 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:33:59:955 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","am","start","-W","-n","io.appi
um.settings/.Settings","-a","android.intent.action.MAIN","-c","android.intent.category.LAU
NCHER","-f","0x10200000"]
2017-11-02 14:34:01:787 - [debug] [ADB] Device API level: 23
2017-11-02 14:34:01:787 - [debug] [ADB] Getting connected devices...
2017-11-02 14:34:01:849 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:34:01:849 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","appops","set","io.appium.setti
ngs","android:mock_location","allow"]
2017-11-02 14:34:03:348 - [debug] [AndroidDriver] Pushing unlock helper app to device...
2017-11-02 14:34:03:348 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","install","C:\\Users\\taalto.CRFHEALTH\
\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-unlock\\bin\\unlock_apk
-debug.apk"]
2017-11-02 14:34:05:095 - [debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790
to 8202
2017-11-02 14:34:05:095 - [debug] [ADB] Forwarding system: 8202 to device: 6790
2017-11-02 14:34:05:095 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","forward","tcp:8202","tcp:6790"]
2017-11-02 14:34:05:158 - [debug] [ADB] Getting connected devices...
2017-11-02 14:34:05:189 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:34:05:189 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","dumpsys","window"]
2017-11-02 14:34:05:314 - [AndroidDriver] Screen already unlocked, doing nothing
2017-11-02 14:34:05:314 - [debug] [AndroidDriver] Extracting strings from apk null null C:
\Users\TAALTO~1.CRF\AppData\Local\Temp\com.android.settings
2017-11-02 14:34:05:314 - [debug] [ADB] Extracting strings for language: default
2017-11-02 14:34:05:314 - [debug] [ADB] Device API level: 23
2017-11-02 14:34:05:314 - [debug] [ADB] Getting connected devices...
2017-11-02 14:34:05:360 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:34:05:360 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","getprop","persist.sys.locale"]
2017-11-02 14:34:05:454 - [debug] [ADB] Current device property 'persist.sys.locale': en-U
S
2017-11-02 14:34:05:692 - [debug] [ADB] No strings.xml for language 'en', getting default
strings.xml
2017-11-02 14:34:05:882 - [debug] [ADB] Getting connected devices...
2017-11-02 14:34:05:913 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:34:05:929 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","rm","-rf","/data/local/tmp/str
ings.json"]
2017-11-02 14:34:06:007 - [debug] [UiAutomator2] No app capability. Assuming it is already
on the device
2017-11-02 14:34:06:007 - [debug] [ADB] APK doesn't exist. null
2017-11-02 14:34:06:023 - [debug] [ADB] Getting connected devices...
2017-11-02 14:34:06:069 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:34:06:069 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","am","force-stop","io.appium.ui
automator2.server"]
2017-11-02 14:34:07:473 - [UiAutomator2] Starting uiautomator2 server v0.1.8
2017-11-02 14:34:07:473 - [UiAutomator2] Running command: 'adb -s 3a21b2bd shell am instru
ment -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner'
2017-11-02 14:34:07:473 - [UiAutomator2] Waiting up to 20000ms for UiAutomator2 to be onli
ne...
2017-11-02 14:34:07:473 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://loc
alhost:8202/wd/hub/status] with no body
2017-11-02 14:34:08:502 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://loc
alhost:8202/wd/hub/status] with no body
2017-11-02 14:34:09:536 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://loc
alhost:8202/wd/hub/status] with no body
2017-11-02 14:34:10:552 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://loc
alhost:8202/wd/hub/status] with no body
2017-11-02 14:34:11:566 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://loc
alhost:8202/wd/hub/status] with no body
2017-11-02 14:34:12:580 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://loc
alhost:8202/wd/hub/status] with no body
2017-11-02 14:34:12:643 - [debug] [JSONWP Proxy] Got response with status 200: "{\"session
Id\":\"SESSIONID\",\"status\":0,\"value\":\"Status Invoked\"}"
2017-11-02 14:34:12:643 - [debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://
localhost:8202/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webS
torageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":fal
se,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":
{"platformVersion":"6.0.1","appPackage":"com.android.settings","platformName":"android","a
ppActivity":".Settings","deviceName":"Samsung_J5","newCommandTimeout":120,"noReset":true,"
fullReset":false,"udid":"3a21b2bd","automationName":"uiautomator2"},"platformVersion":"6.0
.1","appPackage":"com.android.settings","platformName":"android","appActivity":".Settings"
,"deviceName":"3a21b2bd","newCommandTimeout":120,"noReset":true,"fullReset":false,"udid":"
3a21b2bd","automationName":"uiautomator2","deviceUDID":"3a21b2bd","deviceScreenSize":"720x
1280","deviceModel":"SM-J510FN","deviceManufacturer":"samsung"}}
2017-11-02 14:34:12:674 - [debug] [JSONWP Proxy] Got response with status 200: {"sessionId
":"3ef15fa4-8d61-46b1-b86d-3fb470812608","status":0,"value":"Created Session"}
2017-11-02 14:34:12:674 - [UiAutomator2] UiAutomator2 did not start the activity we were w
aiting for, 'com.android.settings/.Settings'. Starting it ourselves
2017-11-02 14:34:12:674 - [debug] [ADB] Device API level: 23
2017-11-02 14:34:12:674 - [debug] [ADB] Getting connected devices...
2017-11-02 14:34:12:721 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:34:12:721 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","am","start","-W","-n","com.and
roid.settings/.Settings","-S","-a","android.intent.action.MAIN","-c","android.intent.categ
ory.LAUNCHER","-f","0x10200000"]
2017-11-02 14:34:15:031 - [Appium] New AndroidUiautomator2Driver session created successfu
lly, session f8a277bf-8e23-4acf-8ca2-5aa2c95356dc added to master session list
2017-11-02 14:34:15:031 - [debug] [BaseDriver] Event 'newSessionStarted' logged at 1509626
055031 (14:34:15 GMT+0200 (FLE Standard Time))
2017-11-02 14:34:15:031 - [debug] [MJSONWP] Responding to client with driver.createSession
() result: {"platformVersion":"6.0.1","appPackage":"com.android.settings","platformName":"
android","appActivity":".Settings","deviceName":"Samsung_J5","newCommandTimeout":120,"noRe
set":true,"fullReset":false,"udid":"3a21b2bd","automationName":"uiautomator2"}
2017-11-02 14:34:15:031 - [HTTP] <-- POST /wd/hub/session 200 47296 ms - 319
2017-11-02 14:34:15:047 - [HTTP] --> POST /wd/hub/session/f8a277bf-8e23-4acf-8ca2-5aa2c953
56dc/elements {"using":"xpath","sessionId":"f8a277bf-8e23-4acf-8ca2-5aa2c95356dc","value":
"//*"}
2017-11-02 14:34:15:047 - [debug] [MJSONWP] Calling AppiumDriver.findElements() with args:
["xpath","//*","f8a277bf-8e23-4acf-8ca2-5aa2c95356dc"]
2017-11-02 14:34:15:047 - [debug] [BaseDriver] Valid locator strategies for this request:
xpath, id, class name, accessibility id, -android uiautomator
2017-11-02 14:34:15:047 - [debug] [BaseDriver] Valid locator strategies for this request:
xpath, id, class name, accessibility id, -android uiautomator
2017-11-02 14:34:15:047 - [debug] [BaseDriver] Waiting up to 0 ms for condition
2017-11-02 14:34:15:047 - [debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http:/
/localhost:8202/wd/hub/session/3ef15fa4-8d61-46b1-b86d-3fb470812608/elements] with body: {
"strategy":"xpath","selector":"//*","context":"","multiple":true}
2017-11-02 14:34:16:233 - [debug] [JSONWP Proxy] Got response with status 200: {"sessionId
":"3ef15fa4-8d61-46b1-b86d-3fb470812608","status":0,"value":[{"ELEMENT":"f9fa134f-427c-459
d-b928-4f254e6df42c"},{"ELEMENT":"c297ebca-4d60-45ad-8db8-6fea52485268"},{"ELEMENT":"d6e2e
560-abbd-44ed-856e-8e5e827477b7"},{"ELEMENT":"e14940f1-09ab-43d2-ac02-f49fdd108c0f"},{"ELE
MENT":"3ab358af-1962-4292-b79b-1baf15a0570d"},{"ELEMENT":"78e97ff9-a72a-4f60-9ed2-f7c9ed6c
ad6d"},{"ELEMENT":"4c9107ea-784e-45a7-959d-854b1e50b67e"},{"ELEMENT":"32e1d0f6-3ed2-486d-8
bad-d54d91f51b43"},{"ELEMENT":"c4c56de3-a9c5-4652-966e-3e26463b5ba9"},{"ELEMENT":"ec7caa7a
-44dc-4a32-b49e-4fd288da9b59"},{"ELEMENT":"e2577151-c9da-493a-ae88-e5c6be861d68"},{"ELEMEN
T":"7a16e562-c3f8-4984-8b10-f26b3e3866f2"},{"ELEMENT":"84307449-02f4-4a3d-b604-19f4c0187c6
a"},{"ELEMENT":"da973cf4-60b8-4c0b-98df-5786f9cd5a7c"},{"ELEMENT":"2c8cc8fe-8d06-47ff-83b3
-bad29ccd682f"},{"ELEMENT":"d7253c12-5cc7-4b7f-ba50-9ab8ab98eafb"},{"ELEMENT":"5975c9d1-8e
40-461c-9cea-c9aee169a8f0"},{"ELEMENT":"aa72f6cf-ded8-464b-8b89-d75fed35228f"},{"ELEMENT":
"106f8106-6782-4c28-...
2017-11-02 14:34:16:233 - [debug] [MJSONWP] Responding to client with driver.findElements(
) result: [{"ELEMENT":"f9fa134f-427c-459d-b928-4f254e6df42c"},{"ELEMENT":"c297ebca-4d60-45
ad-8db8-6fea52485268"},{"ELEMENT":"d6e2e560-abbd-44ed-856e-8e5e827477b7"},{"ELEMENT":"e149
40f1-09ab-43d2-ac02-f49fdd108c0f"},{"ELEMENT":"3ab358af-1962-4292-b79b-1baf15a0570d"},{"EL
EMENT":"78e97ff9-a72a-4f60-9ed2-f7c9ed6cad6d"},{"ELEMENT":"4c9107ea-784e-45a7-959d-854b1e5
0b67e"},{"ELEMENT":"32e1d0f6-3ed2-486d-8bad-d54d91f51b43"},{"ELEMENT":"c4c56de3-a9c5-4652-
966e-3e26463b5ba9"},{"ELEMENT":"ec7caa7a-44dc-4a32-b49e-4fd288da9b59"},{"ELEMENT":"e257715
1-c9da-493a-ae88-e5c6be861d68"},{"ELEMENT":"7a16e562-c3f8-4984-8b10-f26b3e3866f2"},{"ELEME
NT":"84307449-02f4-4a3d-b604-19f4c0187c6a"},{"ELEMENT":"da973cf4-60b8-4c0b-98df-5786f9cd5a
7c"},{"ELEMENT":"2c8cc8fe-8d06-47ff-83b3-bad29ccd682f"},{"ELEMENT":"d7253c12-5cc7-4b7f-ba5
0-9ab8ab98eafb"},{"ELEMENT":"5975c9d1-8e40-461c-9cea-c9aee169a8f0"},{"ELEMENT":"aa72f6cf-d
ed8-464b-8b89-d75fed35228f"},{"ELEMENT":"106f8106-6782-4c28-b736-85b874718978"},{"ELEMENT"
:"27b28187-d012-4a63-9cd0-0cd90ad01053"},...
2017-11-02 14:34:16:233 - [HTTP] <-- POST /wd/hub/session/f8a277bf-8e23-4acf-8ca2-5aa2c953
56dc/elements 200 1195 ms - 3847
2017-11-02 14:34:16:248 - [HTTP] --> POST /wd/hub/session/f8a277bf-8e23-4acf-8ca2-5aa2c953
56dc/elements {"using":"xpath","sessionId":"f8a277bf-8e23-4acf-8ca2-5aa2c95356dc","value":
"//*"}
2017-11-02 14:34:16:248 - [debug] [MJSONWP] Calling AppiumDriver.findElements() with args:
["xpath","//*","f8a277bf-8e23-4acf-8ca2-5aa2c95356dc"]
2017-11-02 14:34:16:248 - [debug] [BaseDriver] Valid locator strategies for this request:
xpath, id, class name, accessibility id, -android uiautomator
2017-11-02 14:34:16:248 - [debug] [BaseDriver] Valid locator strategies for this request:
xpath, id, class name, accessibility id, -android uiautomator
2017-11-02 14:34:16:248 - [debug] [BaseDriver] Waiting up to 0 ms for condition
2017-11-02 14:34:16:264 - [debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http:/
/localhost:8202/wd/hub/session/3ef15fa4-8d61-46b1-b86d-3fb470812608/elements] with body: {
"strategy":"xpath","selector":"//*","context":"","multiple":true}
2017-11-02 14:34:16:379 - [debug] [JSONWP Proxy] Got response with status 200: {"sessionId
":"3ef15fa4-8d61-46b1-b86d-3fb470812608","status":0,"value":[{"ELEMENT":"687f385e-4861-4e5
8-82d0-14067015955e"},{"ELEMENT":"8823bbb5-aaeb-471d-b7ab-352b1c10dfb1"},{"ELEMENT":"745ae
510-405f-4d87-8a9d-1ed40950de01"},{"ELEMENT":"464b2a5a-8bec-4e50-826d-919408532960"},{"ELE
MENT":"c080dcb2-5f9a-4fd0-9f9a-ef8d9b82912e"},{"ELEMENT":"1c05d23f-eed3-43fc-a0d6-7806987e
f853"},{"ELEMENT":"c135ad54-54bd-4c26-86cd-e930550e4864"},{"ELEMENT":"70fdf507-b33a-4ae4-a
456-158d027e8c32"},{"ELEMENT":"3d576f88-e161-4f5c-be90-9968656c28ba"},{"ELEMENT":"bc9f7baf
-1c4a-49cb-b071-0a66086abcd3"},{"ELEMENT":"d5e83379-fe4e-43ab-ac29-21f564e3d06c"},{"ELEMEN
T":"5f176d2d-0b3b-4776-a47d-0a8815b3d9fe"},{"ELEMENT":"8b58df8d-cebb-4497-bc33-46219524702
3"},{"ELEMENT":"cd68196b-d3af-473a-8911-6251e7ea1fdf"},{"ELEMENT":"c9ca1258-84e7-4976-9c71
-784f24a06c8e"},{"ELEMENT":"a85e34be-e5b7-4ac0-ab86-e42860d4c9f4"},{"ELEMENT":"9d7f2fb1-7a
39-46b9-ac07-2f453eda694a"},{"ELEMENT":"e8f3ce2e-82c3-4024-a425-416821a1b23b"},{"ELEMENT":
"31a197c5-9a46-4d0d-...
2017-11-02 14:34:16:379 - [debug] [MJSONWP] Responding to client with driver.findElements(
) result: [{"ELEMENT":"687f385e-4861-4e58-82d0-14067015955e"},{"ELEMENT":"8823bbb5-aaeb-47
1d-b7ab-352b1c10dfb1"},{"ELEMENT":"745ae510-405f-4d87-8a9d-1ed40950de01"},{"ELEMENT":"464b
2a5a-8bec-4e50-826d-919408532960"},{"ELEMENT":"c080dcb2-5f9a-4fd0-9f9a-ef8d9b82912e"},{"EL
EMENT":"1c05d23f-eed3-43fc-a0d6-7806987ef853"},{"ELEMENT":"c135ad54-54bd-4c26-86cd-e930550
e4864"},{"ELEMENT":"70fdf507-b33a-4ae4-a456-158d027e8c32"},{"ELEMENT":"3d576f88-e161-4f5c-
be90-9968656c28ba"},{"ELEMENT":"bc9f7baf-1c4a-49cb-b071-0a66086abcd3"},{"ELEMENT":"d5e8337
9-fe4e-43ab-ac29-21f564e3d06c"},{"ELEMENT":"5f176d2d-0b3b-4776-a47d-0a8815b3d9fe"},{"ELEME
NT":"8b58df8d-cebb-4497-bc33-462195247023"},{"ELEMENT":"cd68196b-d3af-473a-8911-6251e7ea1f
df"},{"ELEMENT":"c9ca1258-84e7-4976-9c71-784f24a06c8e"},{"ELEMENT":"a85e34be-e5b7-4ac0-ab8
6-e42860d4c9f4"},{"ELEMENT":"9d7f2fb1-7a39-46b9-ac07-2f453eda694a"},{"ELEMENT":"e8f3ce2e-8
2c3-4024-a425-416821a1b23b"},{"ELEMENT":"31a197c5-9a46-4d0d-8a83-fecc24f52a6b"},{"ELEMENT"
:"a6a83d9e-4cfd-4f45-9712-2075d8ad95d5"},...
2017-11-02 14:34:16:395 - [HTTP] <-- POST /wd/hub/session/f8a277bf-8e23-4acf-8ca2-5aa2c953
56dc/elements 200 137 ms - 3847
2017-11-02 14:34:46:402 - [HTTP] --> POST /wd/hub/session/f8a277bf-8e23-4acf-8ca2-5aa2c953
56dc/elements {"using":"xpath","sessionId":"f8a277bf-8e23-4acf-8ca2-5aa2c95356dc","value":
"//*"}
2017-11-02 14:34:46:402 - [debug] [MJSONWP] Calling AppiumDriver.findElements() with args:
["xpath","//*","f8a277bf-8e23-4acf-8ca2-5aa2c95356dc"]
2017-11-02 14:34:46:402 - [debug] [BaseDriver] Valid locator strategies for this request:
xpath, id, class name, accessibility id, -android uiautomator
2017-11-02 14:34:46:402 - [debug] [BaseDriver] Valid locator strategies for this request:
xpath, id, class name, accessibility id, -android uiautomator
2017-11-02 14:34:46:402 - [debug] [BaseDriver] Waiting up to 0 ms for condition
2017-11-02 14:34:46:402 - [debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http:/
/localhost:8202/wd/hub/session/3ef15fa4-8d61-46b1-b86d-3fb470812608/elements] with body: {
"strategy":"xpath","selector":"//*","context":"","multiple":true}
2017-11-02 14:34:46:511 - [debug] [JSONWP Proxy] Got response with status 200: {"sessionId
":"3ef15fa4-8d61-46b1-b86d-3fb470812608","status":0,"value":[{"ELEMENT":"43a9cde6-9ddd-4cc
6-b213-3318d6686778"},{"ELEMENT":"419d8682-2776-4da7-b119-9c2ffbe6370a"},{"ELEMENT":"5c7b5
bf8-8f63-4ab1-96e2-2985cf8322ad"},{"ELEMENT":"a038fcdf-696c-44ec-8af6-ccabe52107b4"},{"ELE
MENT":"6e3b6160-34ad-4e5a-98f0-b8e5d913f9eb"},{"ELEMENT":"ad4f769f-ab98-4fc9-beb6-bbfbd5d6
1f5e"},{"ELEMENT":"f12a8567-de06-4112-9aab-7b6ce74e12a0"},{"ELEMENT":"c125b9e6-7c78-44b7-b
a90-c5a71ad0960a"},{"ELEMENT":"d7e86b98-e078-43e0-897c-3a3cd4fb1c1b"},{"ELEMENT":"0a2346be
-d589-4c2d-adb2-35060a2ac8df"},{"ELEMENT":"46656ccc-c26f-4663-a66f-fe0c1c7a4449"},{"ELEMEN
T":"9ae2ac86-4989-4273-9894-031a3ce8835b"},{"ELEMENT":"8584a0e9-9fc7-436f-9b2c-3d840614c2a
e"},{"ELEMENT":"7e4ef76f-db39-41b0-b184-5bf4278b0c03"},{"ELEMENT":"198b4857-42df-4666-aced
-1983df89a82f"},{"ELEMENT":"b0661236-2b5e-4c1b-8367-dd2e8a60cc5c"},{"ELEMENT":"343dece7-1c
8f-4a41-98b4-a180ef93d2c9"},{"ELEMENT":"af069fb7-4a9a-40f1-96f0-5a9fc7891499"},{"ELEMENT":
"9ef3defc-c585-4d0f-...
2017-11-02 14:34:46:526 - [debug] [MJSONWP] Responding to client with driver.findElements(
) result: [{"ELEMENT":"43a9cde6-9ddd-4cc6-b213-3318d6686778"},{"ELEMENT":"419d8682-2776-4d
a7-b119-9c2ffbe6370a"},{"ELEMENT":"5c7b5bf8-8f63-4ab1-96e2-2985cf8322ad"},{"ELEMENT":"a038
fcdf-696c-44ec-8af6-ccabe52107b4"},{"ELEMENT":"6e3b6160-34ad-4e5a-98f0-b8e5d913f9eb"},{"EL
EMENT":"ad4f769f-ab98-4fc9-beb6-bbfbd5d61f5e"},{"ELEMENT":"f12a8567-de06-4112-9aab-7b6ce74
e12a0"},{"ELEMENT":"c125b9e6-7c78-44b7-ba90-c5a71ad0960a"},{"ELEMENT":"d7e86b98-e078-43e0-
897c-3a3cd4fb1c1b"},{"ELEMENT":"0a2346be-d589-4c2d-adb2-35060a2ac8df"},{"ELEMENT":"46656cc
c-c26f-4663-a66f-fe0c1c7a4449"},{"ELEMENT":"9ae2ac86-4989-4273-9894-031a3ce8835b"},{"ELEME
NT":"8584a0e9-9fc7-436f-9b2c-3d840614c2ae"},{"ELEMENT":"7e4ef76f-db39-41b0-b184-5bf4278b0c
03"},{"ELEMENT":"198b4857-42df-4666-aced-1983df89a82f"},{"ELEMENT":"b0661236-2b5e-4c1b-836
7-dd2e8a60cc5c"},{"ELEMENT":"343dece7-1c8f-4a41-98b4-a180ef93d2c9"},{"ELEMENT":"af069fb7-4
a9a-40f1-96f0-5a9fc7891499"},{"ELEMENT":"9ef3defc-c585-4d0f-871c-455474478aa4"},{"ELEMENT"
:"5208e37c-021c-4cc3-b99b-1e289faaba9f"},...
2017-11-02 14:34:46:526 - [HTTP] <-- POST /wd/hub/session/f8a277bf-8e23-4acf-8ca2-5aa2c953
56dc/elements 200 124 ms - 3847
2017-11-02 14:35:16:532 - [HTTP] --> POST /wd/hub/session/f8a277bf-8e23-4acf-8ca2-5aa2c953
56dc/elements {"using":"xpath","sessionId":"f8a277bf-8e23-4acf-8ca2-5aa2c95356dc","value":
"//*"}
2017-11-02 14:35:16:532 - [debug] [MJSONWP] Calling AppiumDriver.findElements() with args:
["xpath","//*","f8a277bf-8e23-4acf-8ca2-5aa2c95356dc"]
2017-11-02 14:35:16:532 - [debug] [BaseDriver] Valid locator strategies for this request:
xpath, id, class name, accessibility id, -android uiautomator
2017-11-02 14:35:16:532 - [debug] [BaseDriver] Valid locator strategies for this request:
xpath, id, class name, accessibility id, -android uiautomator
2017-11-02 14:35:16:532 - [debug] [BaseDriver] Waiting up to 0 ms for condition
2017-11-02 14:35:16:548 - [debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http:/
/localhost:8202/wd/hub/session/3ef15fa4-8d61-46b1-b86d-3fb470812608/elements] with body: {
"strategy":"xpath","selector":"//*","context":"","multiple":true}
2017-11-02 14:35:16:673 - [debug] [JSONWP Proxy] Got response with status 200: {"sessionId
":"3ef15fa4-8d61-46b1-b86d-3fb470812608","status":0,"value":[{"ELEMENT":"aad08ef9-8380-4d0
2-89dd-5a19dc9ef22e"},{"ELEMENT":"e8ca7950-72f4-4bd4-823e-50faa01aae2b"},{"ELEMENT":"1ae31
b81-3301-4d14-8ab2-15ceb0e17ef8"},{"ELEMENT":"a64dc7cc-8e7a-4e0d-bb5c-3640c2c835e0"},{"ELE
MENT":"d50310fb-4a01-4866-822a-69cb1fea46f8"},{"ELEMENT":"cd60df81-6c50-41db-9fc8-de1897f2
142a"},{"ELEMENT":"4ed32965-792b-4951-b273-6804ffc6986d"},{"ELEMENT":"bc698261-2b48-4592-b
a5f-6313afc49020"},{"ELEMENT":"596cf8ea-ff37-431b-baea-fa5181a909f9"},{"ELEMENT":"9d0b8ba2
-a21f-4e04-a5d0-7cd0814e4c53"},{"ELEMENT":"8e5557d3-2e86-4dbe-b2de-f38205de2e7c"},{"ELEMEN
T":"f8fa1e0c-725c-4027-8f3b-29260e285b53"},{"ELEMENT":"b887438e-43ee-40c8-8569-225d9efc0db
8"},{"ELEMENT":"a4c97f8f-f3ee-4327-b3d3-434db45e04e0"},{"ELEMENT":"229004bf-f42a-466c-8190
-47dfd09732d3"},{"ELEMENT":"0c793919-54ff-47f3-b719-b6f7861a88bb"},{"ELEMENT":"f6291aa3-c3
cc-4c40-8e80-58426851a751"},{"ELEMENT":"3a36c940-fd51-4454-a9cc-1c0807ba6036"},{"ELEMENT":
"a9c0d6b7-5cea-47af-...
2017-11-02 14:35:16:673 - [debug] [MJSONWP] Responding to client with driver.findElements(
) result: [{"ELEMENT":"aad08ef9-8380-4d02-89dd-5a19dc9ef22e"},{"ELEMENT":"e8ca7950-72f4-4b
d4-823e-50faa01aae2b"},{"ELEMENT":"1ae31b81-3301-4d14-8ab2-15ceb0e17ef8"},{"ELEMENT":"a64d
c7cc-8e7a-4e0d-bb5c-3640c2c835e0"},{"ELEMENT":"d50310fb-4a01-4866-822a-69cb1fea46f8"},{"EL
EMENT":"cd60df81-6c50-41db-9fc8-de1897f2142a"},{"ELEMENT":"4ed32965-792b-4951-b273-6804ffc
6986d"},{"ELEMENT":"bc698261-2b48-4592-ba5f-6313afc49020"},{"ELEMENT":"596cf8ea-ff37-431b-
baea-fa5181a909f9"},{"ELEMENT":"9d0b8ba2-a21f-4e04-a5d0-7cd0814e4c53"},{"ELEMENT":"8e5557d
3-2e86-4dbe-b2de-f38205de2e7c"},{"ELEMENT":"f8fa1e0c-725c-4027-8f3b-29260e285b53"},{"ELEME
NT":"b887438e-43ee-40c8-8569-225d9efc0db8"},{"ELEMENT":"a4c97f8f-f3ee-4327-b3d3-434db45e04
e0"},{"ELEMENT":"229004bf-f42a-466c-8190-47dfd09732d3"},{"ELEMENT":"0c793919-54ff-47f3-b71
9-b6f7861a88bb"},{"ELEMENT":"f6291aa3-c3cc-4c40-8e80-58426851a751"},{"ELEMENT":"3a36c940-f
d51-4454-a9cc-1c0807ba6036"},{"ELEMENT":"a9c0d6b7-5cea-47af-9b20-88deedb5ec95"},{"ELEMENT"
:"ef15d4df-d9a3-452f-9eaf-2202a715872e"},...
2017-11-02 14:35:16:688 - [HTTP] <-- POST /wd/hub/session/f8a277bf-8e23-4acf-8ca2-5aa2c953
56dc/elements 200 149 ms - 3847
2017-11-02 14:35:25:751 - [BaseDriver] Shutting down because we waited 120 seconds for a c
ommand
2017-11-02 14:35:25:751 - [debug] [UiAutomator2] Deleting UiAutomator2 session
2017-11-02 14:35:25:751 - [Appium] Closing session, cause was 'New Command Timeout of 120
seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capabil
ity'
2017-11-02 14:35:25:751 - [Appium] Removing session 525addb0-7fd6-495b-b883-3a5d98eb611e f
rom our master session list
2017-11-02 14:35:25:766 - [debug] [UiAutomator2] Deleting UiAutomator2 server session
2017-11-02 14:35:25:766 - [debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://loc
alhost:8201/wd/hub/session/30d6093d-a5ba-4976-83d8-c36e18332b54] with no body
2017-11-02 14:35:25:782 - [debug] [JSONWP Proxy] Got response with status 200: "{\"session
Id\":\"30d6093d-a5ba-4976-83d8-c36e18332b54\",\"status\":0,\"value\":\"Session deleted\"}"
2017-11-02 14:35:25:782 - [debug] [ADB] Getting connected devices...
2017-11-02 14:35:25:844 - [debug] [ADB] 1 device(s) connected
2017-11-02 14:35:25:844 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","shell","am","force-stop","com.android.
settings"]
2017-11-02 14:35:26:925 - [debug] [UiAutomator2] [UIAutomator2]
2017-11-02 14:35:26:925 - [debug] [UiAutomator2] [UIAutomator2] io.appium.uiautomator2.ser
ver.test.AppiumUiAutomator2Server:.
2017-11-02 14:35:26:925 - [debug] [UiAutomator2] [UIAutomator2]
2017-11-02 14:35:26:925 - [debug] [UiAutomator2] [UIAutomator2] Time: 76.044
2017-11-02 14:35:26:925 - [debug] [UiAutomator2] [UIAutomator2]
2017-11-02 14:35:26:925 - [debug] [UiAutomator2] [UIAutomator2] OK (1 test)
2017-11-02 14:35:26:925 - [debug] [UiAutomator2] [UIAutomator2]
2017-11-02 14:35:26:925 - [debug] [UiAutomator2] [UIAutomator2]
2017-11-02 14:35:27:299 - [debug] [Logcat] Stopping logcat capture
2017-11-02 14:35:27:315 - [debug] [ADB] Removing forwarded port socket connection: 8201
2017-11-02 14:35:27:315 - [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-to
ols\adb.exe' with args: ["-P",5037,"-s","3a21b2bd","forward","--remove","tcp:8201"]
2017-11-02 14:35:46:701 - [HTTP] --> POST /wd/hub/session/f8a277bf-8e23-4acf-8ca2-5aa2c953
56dc/elements {"using":"xpath","sessionId":"f8a277bf-8e23-4acf-8ca2-5aa2c95356dc","value":
"//*"}
2017-11-02 14:35:46:701 - [debug] [MJSONWP] Calling AppiumDriver.findElements() with args:
["xpath","//*","f8a277bf-8e23-4acf-8ca2-5aa2c95356dc"]
2017-11-02 14:35:46:701 - [debug] [BaseDriver] Valid locator strategies for this request:
xpath, id, class name, accessibility id, -android uiautomator
2017-11-02 14:35:46:717 - [debug] [BaseDriver] Valid locator strategies for this request:
xpath, id, class name, accessibility id, -android uiautomator
2017-11-02 14:35:46:717 - [debug] [BaseDriver] Waiting up to 0 ms for condition
2017-11-02 14:35:46:717 - [debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http:/
/localhost:8202/wd/hub/session/3ef15fa4-8d61-46b1-b86d-3fb470812608/elements] with body: {
"strategy":"xpath","selector":"//*","context":"","multiple":true}
2017-11-02 14:35:46:748 - [MJSONWP] Encountered internal error running command: ProxyReque
stError: Could not proxy command to remote server. Original error: Error: read ECONNRESET
at JWProxy.proxy$ (../../../lib/jsonwp-proxy/proxy.js:152:13)
at tryCatch (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_mo
dules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\taalto.CRFHEALTH\AppData\R
oaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\taal
to.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerato
r\runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\no
de_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
2017-11-02 14:35:46:748 - [HTTP] <-- POST /wd/hub/session/f8a277bf-8e23-4acf-8ca2-5aa2c953
56dc/elements 500 54 ms - 251
2017-11-02 14:36:46:612 - [Appium] Received SIGINT - shutting down
2017-11-02 14:36:46:628 - [Logcat] Logcat terminated with code 3221225786, signal null
Terminate batch job (Y/N)? ^C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment