[Appium] Welcome to Appium v1.6.5 [Appium] Non-default server args: [Appium] bootstrapPort: 100 [Appium] Appium REST http interface listener started on 0.0.0.0:4723 [HTTP] --> GET /wd/hub/status {} [debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: [] [debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.6.5","revision":null}} [HTTP] <-- GET /wd/hub/status 200 177 ms - 83 [Appium] Welcome to Appium v1.6.5 [Appium] Non-default server args: [Appium] port: 5000 [Appium] bootstrapPort: 200 [Appium] Appium REST http interface listener started on 0.0.0.0:5000 [HTTP] --> GET /wd/hub/status {} [debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: [] [debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.6.5","revision":null}} [HTTP] <-- GET /wd/hub/status 200 131 ms - 83 [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"appPackage":"com.motorolasolutions.videostream","appActivity":"com.motorolasolutions.videostream.VideoStreamActivity","platformVersion":"7.0","autoGrantPermissions":true,"udid":"ce11160b0d80a83105","platformName":"Android","deviceName":"Android Device"}} [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appPackage":"com.motorolasolutions.videostream","appActivity":"com.motorolasolutions.videostream.VideoStreamActivity","platformVersion":"7.0","autoGrantPermissions":true,"udid":"ce11160b0d80a83105","platformName":"Android","deviceName":"Android Device"},null,null] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1500469755664 (08:09:15 GMT-0500 (Central Daylight Time)) [Appium] Creating new AndroidDriver (v1.20.0) session [Appium] Capabilities: [Appium] appPackage: 'com.motorolasolutions.videostream' [Appium] appActivity: 'com.motorolasolutions.videostream.VideoStreamActivity' [Appium] platformVersion: '7.0' [Appium] autoGrantPermissions: true [Appium] udid: 'ce11160b0d80a83105' [Appium] platformName: 'Android' [Appium] deviceName: 'Android Device' [debug] [AndroidDriver] AndroidDriver version: 1.20.0 [BaseDriver] Session created with session id: 5a577dda-c3fc-427f-821e-4d7eed694a8f [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:\Users\DVGX36\AppData\Local\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: ce11160b0d80a83105 [ADB] Checking whether adb is present [ADB] Using adb.exe from C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe [debug] [ADB] Setting device id to ce11160b0d80a83105 [AndroidDriver] App file was not listed, instead we're going to run com.motorolasolutions.videostream directly on the device [debug] [AndroidDriver] Checking whether package is present on the device [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","pm","list","packages","com.motorolasolutions.videostream"] [AndroidDriver] Starting Android session [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","wait-for-device"] [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","echo","ping"] [debug] [Logcat] Starting logcat capture [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","pm","list","packages","io.appium.settings"] [debug] [ADB] App is installed [debug] [ADB] Getting package info for io.appium.settings [debug] [ADB] Getting connected devices... [ADB] Checking whether aapt is present [ADB] Using aapt.exe from C:\Users\DVGX36\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe [ADB] Cannot read version codes of C:\Users\DVGX36\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\app\build\outputs\apk\settings_apk-debug.apk and/or io.appium.settings. Assuming correct app version is already installed [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","dumpsys","package","io.appium.settings"] [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","getprop","ro.build.version.sdk"] [debug] [ADB] Device API level: 24 [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","dumpsys","package","io.appium.settings"] [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","pm","dump","io.appium.settings"] [debug] [ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,; [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";"] [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";"] [debug] [AndroidDriver] Pushing unlock helper app to device... [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","install","C:\\Users\\DVGX36\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-unlock\\bin\\unlock_apk-debug.apk"] [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","install","C:\\Users\\DVGX36\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-unlock\\bin\\unlock_apk-debug.apk"] [debug] [ADB] Application 'C:\Users\DVGX36\AppData\Roaming\npm\node_modules\appium\node_modules\appium-unlock\bin\unlock_apk-debug.apk' already installed. Continuing. [debug] [ADB] Device API level: 24 [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","appops","set","io.appium.settings","android:mock_location","allow"] [ADB] Getting device platform version [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","getprop","ro.build.version.release"] [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","wm","size"] [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","getprop","ro.product.model"] [debug] [ADB] Current device property 'ro.product.model': SM-G930F [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","getprop","ro.product.manufacturer"] [debug] [ADB] Current device property 'ro.product.manufacturer': samsung [AndroidDriver] No app sent in, not parsing package/activity [debug] [AndroidDriver] 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:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","am","force-stop","com.motorolasolutions.videostream"] [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","pm","clear","com.motorolasolutions.videostream"] [debug] [ADB] Device API level: 24 [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","dumpsys","package","com.motorolasolutions.videostream"] [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","pm","dump","com.motorolasolutions.videostream"] [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"appPackage":"com.motorolasolutions.videostream","appActivity":"com.motorolasolutions.videostream.VideoStreamActivity","platformVersion":"6.0.1","autoGrantPermissions":true,"udid":"d72c2a39","platformName":"Android","deviceName":"Android Device"}} [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appPackage":"com.motorolasolutions.videostream","appActivity":"com.motorolasolutions.videostream.VideoStreamActivity","platformVersion":"6.0.1","autoGrantPermissions":true,"udid":"d72c2a39","platformName":"Android","deviceName":"Android Device"},null,null] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1500469770098 (08:09:30 GMT-0500 (Central Daylight Time)) [Appium] Creating new AndroidDriver (v1.20.0) session [Appium] Capabilities: [Appium] appPackage: 'com.motorolasolutions.videostream' [Appium] appActivity: 'com.motorolasolutions.videostream.VideoStreamActivity' [Appium] platformVersion: '6.0.1' [Appium] autoGrantPermissions: true [Appium] udid: 'd72c2a39' [Appium] platformName: 'Android' [Appium] deviceName: 'Android Device' [debug] [AndroidDriver] AndroidDriver version: 1.20.0 [BaseDriver] Session created with session id: f18d8a0a-bee3-46e6-a431-c7e0b3bb37d7 [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:\Users\DVGX36\AppData\Local\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: d72c2a39 [ADB] Checking whether adb is present [ADB] Using adb.exe from C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe [debug] [ADB] Setting device id to d72c2a39 [AndroidDriver] App file was not listed, instead we're going to run com.motorolasolutions.videostream directly on the device [debug] [AndroidDriver] Checking whether package is present on the device [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","pm","list","packages","com.motorolasolutions.videostream"] [debug] [ADB] Got the following command chunks to execute: pm,grant,com.motorolasolutions.videostream,android.permission.CAMERA,;,pm,grant,com.motorolasolutions.videostream,android.permission.CAPTURE_AUDIO_OUTPUT,;,pm,grant,com.motorolasolutions.videostream,android.permission.RECORD_AUDIO,; [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","pm","grant","com.motorolasolutions.videostream","android.permission.CAMERA",";","pm","grant","com.motorolasolutions.videostream","android.permission.CAPTURE_AUDIO_OUTPUT",";","pm","grant","com.motorolasolutions.videostream","android.permission.RECORD_AUDIO",";"] [AndroidDriver] Starting Android session [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","wait-for-device"] [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","echo","ping"] [debug] [Logcat] Starting logcat capture [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","pm","list","packages","io.appium.settings"] [debug] [AndroidBootstrap] Watching for bootstrap disconnect [debug] [ADB] Forwarding system: 100 to device: 4724 [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","forward","tcp:100","tcp:4724"] [debug] [UiAutomator] Starting UiAutomator [debug] [UiAutomator] Moving to state 'starting' [debug] [UiAutomator] Parsing uiautomator jar [debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar' [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","push","C:\\Users\\DVGX36\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-android-bootstrap\\bootstrap\\bin\\AppiumBootstrap.jar","/data/local/tmp/"] [debug] [ADB] App is installed [debug] [ADB] Getting package info for io.appium.settings [debug] [ADB] Getting connected devices... [ADB] Checking whether aapt is present [ADB] Using aapt.exe from C:\Users\DVGX36\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe [ADB] Cannot read version codes of C:\Users\DVGX36\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\app\build\outputs\apk\settings_apk-debug.apk and/or io.appium.settings. Assuming correct app version is already installed [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","dumpsys","package","io.appium.settings"] [debug] [ADB] Attempting to kill all uiautomator processes [debug] [ADB] Getting all processes with uiautomator [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","getprop","ro.build.version.sdk"] [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","ps"] [debug] [ADB] Device API level: 23 [debug] [ADB] Getting connected devices... [ADB] No uiautomator process found to kill, continuing... [debug] [UiAutomator] Starting UIAutomator [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.motorolasolutions.videostream","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false] [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","dumpsys","package","io.appium.settings"] [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","pm","dump","io.appium.settings"] [debug] [UiAutomator] Moving to state 'online' [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers. [AndroidBootstrap] Android bootstrap socket is now connected [debug] [ADB] Getting connected devices... [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","dumpsys","window"] [AndroidDriver] Screen already unlocked, doing nothing [debug] [ADB] Device API level: 24 [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","ce11160b0d80a83105","shell","am","start","-W","-n","com.motorolasolutions.videostream/com.motorolasolutions.videostream.VideoStreamActivity","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"] [debug] [ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.INTERNET,;,pm,grant,io.appium.settings,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,io.appium.settings,android.permission.ACCESS_NETWORK_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.settings,android.permission.ACCESS_WIFI_STATE,;,pm,grant,io.appium.settings,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,io.appium.settings,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,; [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","pm","grant","io.appium.settings","android.permission.INTERNET",";","pm","grant","io.appium.settings","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","io.appium.settings","android.permission.ACCESS_NETWORK_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.settings","android.permission.ACCESS_WIFI_STATE",";","pm","grant","io.appium.settings","android.permission.ACCESS_FINE_LOCATION",";","pm","grant","io.appium.settings","android.permission.ACCESS_COARSE_LOCATION",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";"] [Appium] New AndroidDriver session created successfully, session 5a577dda-c3fc-427f-821e-4d7eed694a8f added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1500469776893 (08:09:36 GMT-0500 (Central Daylight Time)) [debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.motorolasolutions.videostream","appActivity":"com.motorolasolutions.videostream.VideoStreamActivity","platformVersion":"7.0","autoGrantPermissions":true,"udid":"ce11160b0d80a83105","platformName":"Android","deviceName":"Android Device"},"appPackage":"com.motorolasolutions.videostream","appActivity":"com.motorolasolutions.videostream.VideoStreamActivity","platformVersion":"7.0","autoGrantPermissions":true,"udid":"ce11160b0d80a83105","platformName":"Android","deviceName":"ce11160b0d80a83105","deviceUDID":"ce11160b0d80a83105","deviceScreenSize":"1440x2560","deviceModel":"SM-G930F","deviceManufacturer":"samsung"} [HTTP] <-- POST /wd/hub/session 200 21232 ms - 912 [HTTP] --> POST /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element {"using":"xpath","value":"//android.widget.ToggleButton[@resource-id='com.motorolasolutions.videostream:id/toggleConnectButton']"} [debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.ToggleButton[@resource-id='com.motorolasolutions.videostream:id/toggleConnectButton']","5a577dda-c3fc-427f-821e-4d7eed694a8f"] [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 0 ms for condition [debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.ToggleButton[@resource-id='com.motorolasolutions.videostream:id/toggleConnectButton']","context":"","multiple":false}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.ToggleButton[@resource-id='com.motorolasolutions.videostream:id/toggleConnectButton']","context":"","multiple":false}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding '//android.widget.ToggleButton[@resource-id='com.motorolasolutions.videostream:id/toggleConnectButton']' using 'XPATH' with the contextId: '' multiple: false [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.ToggleButton, INSTANCE=0] [debug] [AndroidBootstrap] Received command result from bootstrap [debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"1"} [HTTP] <-- POST /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element 200 171 ms - 87 [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}} [HTTP] --> GET /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element/1/displayed {} [debug] [MJSONWP] Calling AppiumDriver.elementDisplayed() with args: ["1","5a577dda-c3fc-427f-821e-4d7eed694a8f"] [debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"displayed","elementId":"1"}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"displayed","elementId":"1"}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute [debug] [AndroidBootstrap] Received command result from bootstrap [debug] [MJSONWP] Responding to client with driver.elementDisplayed() result: true [HTTP] <-- GET /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element/1/displayed 200 37 ms - 76 [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"true"} [HTTP] --> POST /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element {"using":"xpath","value":"//android.widget.ToggleButton[@resource-id='com.motorolasolutions.videostream:id/toggleConnectButton']"} [debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.ToggleButton[@resource-id='com.motorolasolutions.videostream:id/toggleConnectButton']","5a577dda-c3fc-427f-821e-4d7eed694a8f"] [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 0 ms for condition [debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.ToggleButton[@resource-id='com.motorolasolutions.videostream:id/toggleConnectButton']","context":"","multiple":false}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.ToggleButton[@resource-id='com.motorolasolutions.videostream:id/toggleConnectButton']","context":"","multiple":false}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding '//android.widget.ToggleButton[@resource-id='com.motorolasolutions.videostream:id/toggleConnectButton']' using 'XPATH' with the contextId: '' multiple: false [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.ToggleButton, INSTANCE=0] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}} [debug] [AndroidBootstrap] Received command result from bootstrap [debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"2"} [HTTP] <-- POST /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element 200 133 ms - 87 [HTTP] --> POST /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element/2/click {"id":"2"} [debug] [MJSONWP] Calling AppiumDriver.click() with args: ["2","5a577dda-c3fc-427f-821e-4d7eed694a8f"] [debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"2"}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"2"}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} [debug] [AndroidBootstrap] Received command result from bootstrap [debug] [MJSONWP] Responding to client with driver.click() result: true [HTTP] <-- POST /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element/2/click 200 185 ms - 76 [HTTP] --> POST /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element {"using":"xpath","value":"//android.widget.HorizontalScrollView[@resource-id='com.motorolasolutions.videostream:id/selected_contacts_scroll_view']"} [debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.HorizontalScrollView[@resource-id='com.motorolasolutions.videostream:id/selected_contacts_scroll_view']","5a577dda-c3fc-427f-821e-4d7eed694a8f"] [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 0 ms for condition [debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.HorizontalScrollView[@resource-id='com.motorolasolutions.videostream:id/selected_contacts_scroll_view']","context":"","multiple":false}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.HorizontalScrollView[@resource-id='com.motorolasolutions.videostream:id/selected_contacts_scroll_view']","context":"","multiple":false}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding '//android.widget.HorizontalScrollView[@resource-id='com.motorolasolutions.videostream:id/selected_contacts_scroll_view']' using 'XPATH' with the contextId: '' multiple: false [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.HorizontalScrollView, INSTANCE=0] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"3"}} [debug] [AndroidBootstrap] Received command result from bootstrap [debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"3"} [HTTP] <-- POST /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element 200 205 ms - 87 [HTTP] --> POST /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element/3/value {"id":"3","value":["User 2505"]} [debug] [MJSONWP] Calling AppiumDriver.setValue() with args: [["User 2505"],"3","5a577dda-c3fc-427f-821e-4d7eed694a8f"] [debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:setText","params":{"elementId":"3","text":"User 2505","replace":false}} [debug] [AndroidDriver] Pushing unlock helper app to device... [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"3","text":"User 2505","replace":false}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","install","C:\\Users\\DVGX36\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-unlock\\bin\\unlock_apk-debug.apk"] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: setText [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using element passed in: 3 [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Attempting to clear using UiObject.clearText(). [debug] [ADB] Device API level: 23 [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","appops","set","io.appium.settings","android:mock_location","allow"] [ADB] Getting device platform version [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","getprop","ro.build.version.release"] 0 Minutes passed [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"appPackage":"com.motorolasolutions.videostream","appActivity":"com.motorolasolutions.videostream.VideoStreamActivity","platformVersion":"7.0","autoGrantPermissions":true,"udid":"ce11160b0d80a83105","platformName":"Android","deviceName":"Android Device"}} [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appPackage":"com.motorolasolutions.videostream","appActivity":"com.motorolasolutions.videostream.VideoStreamActivity","platformVersion":"7.0","autoGrantPermissions":true,"udid":"ce11160b0d80a83105","platformName":"Android","deviceName":"Android Device"},null,null] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1500469785104 (08:09:45 GMT-0500 (Central Daylight Time)) [Appium] Creating new AndroidDriver (v1.20.0) session [Appium] Capabilities: [Appium] appPackage: 'com.motorolasolutions.videostream' [Appium] appActivity: 'com.motorolasolutions.videostream.VideoStreamActivity' [Appium] platformVersion: '7.0' [Appium] autoGrantPermissions: true [Appium] udid: 'ce11160b0d80a83105' [Appium] platformName: 'Android' [Appium] deviceName: 'Android Device' [HTTP] <-- POST /wd/hub/session 500 10 ms - 193 org.openqa.selenium.SessionNotCreatedException: A new session could not be created. Details: Problem getting session data for driver type AndroidDriver; does it implement 'get driverData'? (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 33 milliseconds Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' System info: host: 'DVGX36-ZB15G2', ip: '192.168.1.216', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_65' Driver info: io.appium.java_client.android.AndroidDriver at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206) at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249) at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131) at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144) at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36) at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114) at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132) at io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:92) at parallelexecution.StreamParallelExecution2.openStreamVideoAndConnectTwoDevices(StreamParallelExecution2.java:64) at parallelexecution.StreamParallelExecution2.run(StreamParallelExecution2.java:227) at java.lang.Thread.run(Thread.java:745) [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","wm","size"] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Sending plain text to element: User 2505 [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","getprop","ro.product.model"] [debug] [ADB] Current device property 'ro.product.model': SM-A9000 [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","getprop","ro.product.manufacturer"] [debug] [ADB] Current device property 'ro.product.manufacturer': samsung [AndroidDriver] No app sent in, not parsing package/activity [debug] [AndroidDriver] 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:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","am","force-stop","com.motorolasolutions.videostream"] [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","pm","clear","com.motorolasolutions.videostream"] [debug] [AndroidBootstrap] Received command result from bootstrap [debug] [MJSONWP] Responding to client with driver.setValue() result: true [HTTP] <-- POST /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element/3/value 200 7820 ms - 76 [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} [debug] [ADB] Device API level: 23 [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","dumpsys","package","com.motorolasolutions.videostream"] [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","pm","dump","com.motorolasolutions.videostream"] [HTTP] --> POST /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element {"using":"xpath","value":"//android.widget.CheckBox[@resource-id='com.motorolasolutions.videostream:id/contacts_list_item_check_box']"} [debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.CheckBox[@resource-id='com.motorolasolutions.videostream:id/contacts_list_item_check_box']","5a577dda-c3fc-427f-821e-4d7eed694a8f"] [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 0 ms for condition [debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.CheckBox[@resource-id='com.motorolasolutions.videostream:id/contacts_list_item_check_box']","context":"","multiple":false}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.CheckBox[@resource-id='com.motorolasolutions.videostream:id/contacts_list_item_check_box']","context":"","multiple":false}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding '//android.widget.CheckBox[@resource-id='com.motorolasolutions.videostream:id/contacts_list_item_check_box']' using 'XPATH' with the contextId: '' multiple: false [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.CheckBox, INSTANCE=0] [debug] [ADB] Got the following command chunks to execute: pm,grant,com.motorolasolutions.videostream,android.permission.INTERNET,;,pm,grant,com.motorolasolutions.videostream,android.permission.CAMERA,;,pm,grant,com.motorolasolutions.videostream,android.permission.CAPTURE_AUDIO_OUTPUT,;,pm,grant,com.motorolasolutions.videostream,android.permission.RECORD_AUDIO,;,pm,grant,com.motorolasolutions.videostream,android.permission.MODIFY_AUDIO_SETTINGS,;,pm,grant,com.motorolasolutions.videostream,android.permission.ACCESS_NETWORK_STATE,;,pm,grant,com.motorolasolutions.videostream,android.permission.ACCESS_WIFI_STATE,; [debug] [ADB] Getting connected devices... [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"4"}} [debug] [AndroidBootstrap] Received command result from bootstrap [debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"4"} [HTTP] <-- POST /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element 200 159 ms - 87 [HTTP] --> POST /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element/4/click {"id":"4"} [debug] [MJSONWP] Calling AppiumDriver.click() with args: ["4","5a577dda-c3fc-427f-821e-4d7eed694a8f"] [debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"4"}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"4"}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","pm","grant","com.motorolasolutions.videostream","android.permission.INTERNET",";","pm","grant","com.motorolasolutions.videostream","android.permission.CAMERA",";","pm","grant","com.motorolasolutions.videostream","android.permission.CAPTURE_AUDIO_OUTPUT",";","pm","grant","com.motorolasolutions.videostream","android.permission.RECORD_AUDIO",";","pm","grant","com.motorolasolutions.videostream","android.permission.MODIFY_AUDIO_SETTINGS",";","pm","grant","com.motorolasolutions.videostream","android.permission.ACCESS_NETWORK_STATE",";","pm","grant","com.motorolasolutions.videostream","android.permission.ACCESS_WIFI_STATE",";"] [debug] [AndroidBootstrap] Received command result from bootstrap [debug] [MJSONWP] Responding to client with driver.click() result: true [HTTP] <-- POST /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element/4/click 200 401 ms - 76 [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} [HTTP] --> POST /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element {"using":"xpath","value":"//android.widget.TextView[@resource-id='com.motorolasolutions.videostream:id/action_send_invites']"} [debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.TextView[@resource-id='com.motorolasolutions.videostream:id/action_send_invites']","5a577dda-c3fc-427f-821e-4d7eed694a8f"] [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 0 ms for condition [debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.TextView[@resource-id='com.motorolasolutions.videostream:id/action_send_invites']","context":"","multiple":false}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.TextView[@resource-id='com.motorolasolutions.videostream:id/action_send_invites']","context":"","multiple":false}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding '//android.widget.TextView[@resource-id='com.motorolasolutions.videostream:id/action_send_invites']' using 'XPATH' with the contextId: '' multiple: false [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=1] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"5"}} [debug] [AndroidBootstrap] Received command result from bootstrap [debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"5"} [HTTP] <-- POST /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element 200 734 ms - 87 [HTTP] --> POST /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element/5/click {"id":"5"} [debug] [MJSONWP] Calling AppiumDriver.click() with args: ["5","5a577dda-c3fc-427f-821e-4d7eed694a8f"] [debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"5"}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"5"}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} [debug] [AndroidBootstrap] Received command result from bootstrap [debug] [MJSONWP] Responding to client with driver.click() result: true [HTTP] <-- POST /wd/hub/session/5a577dda-c3fc-427f-821e-4d7eed694a8f/element/5/click 200 291 ms - 76 [debug] [AndroidBootstrap] Watching for bootstrap disconnect [debug] [ADB] Forwarding system: 200 to device: 4724 [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","forward","tcp:200","tcp:4724"] [debug] [UiAutomator] Starting UiAutomator [debug] [UiAutomator] Moving to state 'starting' [debug] [UiAutomator] Parsing uiautomator jar [debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar' [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","push","C:\\Users\\DVGX36\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-android-bootstrap\\bootstrap\\bin\\AppiumBootstrap.jar","/data/local/tmp/"] [debug] [ADB] Attempting to kill all uiautomator processes [debug] [ADB] Getting all processes with uiautomator [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","ps"] [ADB] No uiautomator process found to kill, continuing... [debug] [UiAutomator] Starting UIAutomator [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","d72c2a39","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.motorolasolutions.videostream","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false] [debug] [UiAutomator] Moving to state 'online' [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Loading json... [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers. [AndroidBootstrap] Android bootstrap socket is now connected [debug] [ADB] Getting connected devices... [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","dumpsys","window"] [AndroidDriver] Screen already unlocked, doing nothing [debug] [ADB] Device API level: 23 [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","am","start","-W","-n","com.motorolasolutions.videostream/com.motorolasolutions.videostream.VideoStreamActivity","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"] [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"appPackage":"com.motorolasolutions.videostream","appActivity":"com.motorolasolutions.videostream.VideoStreamActivity","platformVersion":"6.0.1","autoGrantPermissions":true,"udid":"d72c2a39","platformName":"Android","deviceName":"Android Device"}} [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appPackage":"com.motorolasolutions.videostream","appActivity":"com.motorolasolutions.videostream.VideoStreamActivity","platformVersion":"6.0.1","autoGrantPermissions":true,"udid":"d72c2a39","platformName":"Android","deviceName":"Android Device"},null,null] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1500469800127 (08:10:00 GMT-0500 (Central Daylight Time)) [Appium] New AndroidDriver session created successfully, session f18d8a0a-bee3-46e6-a431-c7e0b3bb37d7 added to master session list [Appium] Creating new AndroidDriver (v1.20.0) session [Appium] Capabilities: [Appium] appPackage: 'com.motorolasolutions.videostream' [Appium] appActivity: 'com.motorolasolutions.videostream.VideoStreamActivity' [Appium] platformVersion: '6.0.1' [Appium] autoGrantPermissions: true [Appium] udid: 'd72c2a39' [Appium] platformName: 'Android' [Appium] deviceName: 'Android Device' [debug] [BaseDriver] Event 'newSessionStarted' logged at 1500469800977 (08:10:00 GMT-0500 (Central Daylight Time)) [debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.motorolasolutions.videostream","appActivity":"com.motorolasolutions.videostream.VideoStreamActivity","platformVersion":"6.0.1","autoGrantPermissions":true,"udid":"d72c2a39","platformName":"Android","deviceName":"Android Device"},"appPackage":"com.motorolasolutions.videostream","appActivity":"com.motorolasolutions.videostream.VideoStreamActivity","platformVersion":"6.0.1","autoGrantPermissions":true,"udid":"d72c2a39","platformName":"Android","deviceName":"d72c2a39","deviceUDID":"d72c2a39","deviceScreenSize":"1080x1920","deviceModel":"SM-A9000","deviceManufacturer":"samsung"} [HTTP] <-- POST /wd/hub/session 200 30885 ms - 876 [HTTP] <-- POST /wd/hub/session 500 861 ms - 193 org.openqa.selenium.SessionNotCreatedException: A new session could not be created. Details: Problem getting session data for driver type AndroidDriver; does it implement 'get driverData'? (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 897 milliseconds Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' System info: host: 'DVGX36-ZB15G2', ip: '192.168.1.216', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_65' Driver info: io.appium.java_client.android.AndroidDriver at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206) at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249) at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131) at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144) at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36) at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114) at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132) at io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:92) at parallelexecution.StreamParallelExecution2.openStreamVideoAndConnectTwoDevices(StreamParallelExecution2.java:69) at parallelexecution.StreamParallelExecution2.run(StreamParallelExecution2.java:227) at java.lang.Thread.run(Thread.java:745) [HTTP] --> POST /wd/hub/session/f18d8a0a-bee3-46e6-a431-c7e0b3bb37d7/appium/device/open_notifications {} [debug] [MJSONWP] Calling AppiumDriver.openNotifications() with args: ["f18d8a0a-bee3-46e6-a431-c7e0b3bb37d7"] [debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"openNotification","params":{}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"openNotification","params":{}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: openNotification [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} [debug] [AndroidBootstrap] Received command result from bootstrap [debug] [MJSONWP] Responding to client with driver.openNotifications() result: true [HTTP] <-- POST /wd/hub/session/f18d8a0a-bee3-46e6-a431-c7e0b3bb37d7/appium/device/open_notifications 200 50 ms - 76 [HTTP] --> GET /wd/hub/session/f18d8a0a-bee3-46e6-a431-c7e0b3bb37d7/window/current/size {} [debug] [MJSONWP] Calling AppiumDriver.getWindowSize() with args: ["current","f18d8a0a-bee3-46e6-a431-c7e0b3bb37d7"] [debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"getDeviceSize","params":{}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"getDeviceSize","params":{}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getDeviceSize [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"height":1920,"width":1080}} [debug] [AndroidBootstrap] Received command result from bootstrap [debug] [MJSONWP] Responding to client with driver.getWindowSize() result: {"height":1920,"width":1080} [HTTP] <-- GET /wd/hub/session/f18d8a0a-bee3-46e6-a431-c7e0b3bb37d7/window/current/size 200 25 ms - 100 [HTTP] --> POST /wd/hub/session/f18d8a0a-bee3-46e6-a431-c7e0b3bb37d7/touch/perform {"actions":[{"action":"press","options":{"x":520,"y":1886}},{"action":"wait","options":{"ms":3000}},{"action":"moveTo","options":{"x":520,"y":13}},{"action":"release","options":{}}]} [debug] [MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":520,"y":1886}},{"action":"wait","options":{"ms":3000}},{"action":"moveTo","options":{"x":520,"y":13}},{"action":"release","options":{}}],"f18d8a0a-bee3-46e6-a431-c7e0b3bb37d7"] [debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"swipe","params":{"startX":520,"startY":1886,"endX":520,"endY":13,"steps":84}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"swipe","params":{"startX":520,"startY":1886,"endX":520,"endY":13,"steps":84}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: swipe [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][1080,1920] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][1080,1920] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Swiping from [x=520.0, y=1886.0] to [x=520.0, y=13.0] with steps: 84 [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} [debug] [AndroidBootstrap] Received command result from bootstrap [debug] [MJSONWP] Responding to client with driver.performTouch() result: true [HTTP] <-- POST /wd/hub/session/f18d8a0a-bee3-46e6-a431-c7e0b3bb37d7/touch/perform 200 1643 ms - 76 [HTTP] --> POST /wd/hub/session/f18d8a0a-bee3-46e6-a431-c7e0b3bb37d7/appium/app/close {} [debug] [MJSONWP] Calling AppiumDriver.closeApp() with args: ["f18d8a0a-bee3-46e6-a431-c7e0b3bb37d7"] [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","am","force-stop","com.motorolasolutions.videostream"] [debug] [MJSONWP] Responding to client with driver.closeApp() result: null [HTTP] <-- POST /wd/hub/session/f18d8a0a-bee3-46e6-a431-c7e0b3bb37d7/appium/app/close 200 1211 ms - 76 [HTTP] --> DELETE /wd/hub/session/f18d8a0a-bee3-46e6-a431-c7e0b3bb37d7 {} [debug] [MJSONWP] Calling AppiumDriver.deleteSession() with args: ["f18d8a0a-bee3-46e6-a431-c7e0b3bb37d7"] [debug] [BaseDriver] Event 'quitSessionRequested' logged at 1500469811994 (08:10:11 GMT-0500 (Central Daylight Time)) [debug] [AndroidDriver] Shutting down Android driver [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","am","force-stop","com.motorolasolutions.videostream"] [debug] [ADB] Pressing the HOME button [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","input","keyevent",3] [debug] [AndroidBootstrap] Sending command to android: {"cmd":"shutdown"} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"OK, shutting down"} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Closed client connection [debug] [AndroidBootstrap] Received command result from bootstrap [debug] [UiAutomator] Shutting down UiAutomator [debug] [UiAutomator] Moving to state 'stopping' [debug] [UiAutomator] UiAutomator shut down normally [debug] [UiAutomator] Moving to state 'stopped' [debug] [ADB] Attempting to kill all uiautomator processes [debug] [ADB] Getting all processes with uiautomator [debug] [ADB] Getting connected devices... [debug] [ADB] 2 device(s) connected [debug] [ADB] Running 'C:\Users\DVGX36\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","d72c2a39","shell","ps"] [ADB] No uiautomator process found to kill, continuing... [debug] [UiAutomator] Moving to state 'stopped' [debug] [Logcat] Stopping logcat capture [debug] [ADB] Getting connected devices... 1 Minutes passed [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"appPackage":"com.motorolasolutions.videostream","appActivity":"com.motorolasolutions.videostream.VideoStreamActivity","platformVersion":"7.0","autoGrantPermissions":true,"udid":"ce11160b0d80a83105","platformName":"Android","deviceName":"Android Device"}} [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appPackage":"com.motorolasolutions.videostream","appActivity":"com.motorolasolutions.videostream.VideoStreamActivity","platformVersion":"7.0","autoGrantPermissions":true,"udid":"ce11160b0d80a83105","platformName":"Android","deviceName":"Android Device"},null,null] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1500469815101 (08:10:15 GMT-0500 (Central Daylight Time)) [Appium] Creating new AndroidDriver (v1.20.0) session [Appium] Capabilities: [Appium] appPackage: 'com.motorolasolutions.videostream' [Appium] appActivity: 'com.motorolasolutions.videostream.VideoStreamActivity' [Appium] platformVersion: '7.0' [Appium] autoGrantPermissions: true [Appium] udid: 'ce11160b0d80a83105' [Appium] platformName: 'Android' [Appium] deviceName: 'Android Device' [HTTP] <-- POST /wd/hub/session 500 14 ms - 193 org.openqa.selenium.SessionNotCreatedException: A new session could not be created. Details: Problem getting session data for driver type AndroidDriver; does it implement 'get driverData'? (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 33 milliseconds Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' System info: host: 'DVGX36-ZB15G2', ip: '192.168.1.216', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_65' Driver info: io.appium.java_client.android.AndroidDriver at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206) at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249) at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131) at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144) at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36) at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114) at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132) at io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:92) at parallelexecution.StreamParallelExecution2.openStreamVideoAndConnectTwoDevices(StreamParallelExecution2.java:64) at parallelexecution.StreamParallelExecution2.run(StreamParallelExecution2.java:227) at java.lang.Thread.run(Thread.java:745)