Created
January 2, 2017 11:03
-
-
Save TikhomirovSergey/3306fb9ef7e4c544a34a67a142782674 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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.1","revision":null}} | |
[HTTP] <-- GET /wd/hub/status 200 112 ms - 83 | |
[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.1","revision":null}} | |
[HTTP] <-- GET /wd/hub/status 200 60 ms - 83 | |
янв 02, 2017 1:57:55 PM org.openqa.selenium.remote.ProtocolHandshake createSession | |
INFO: Attempting bi-dialect session, assuming Postel's Law holds true on the remote end | |
[HTTP] --> POST /wd/hub/session {"capabilities":{"desiredCapabilities":{"app":"C:\\appium\\java-client\\src\\test\\java\\io\\appium\\java_client\\ApiDemos-debug.apk","platformName":"Android","deviceName":"Android Emulator"},"requiredCapabilities":{}},"desiredCapabilities":{"app":"C:\\appium\\java-client\\src\\test\\java\\io\\appium\\java_client\\ApiDemos-debug.apk","platformName":"Android","deviceName":"Android Emulator"},"requiredCapabilities":{}} | |
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"C:\\appium\\java-client\\src\\test\\java\\io\\appium\\java_client\\ApiDemos-debug.apk","platformName":"Android","deviceName":"Android Emulator"},{},{"desiredCapabilities":{"app":"C:\\appium\\java-client\\src\\test\\java\\io\\appium\\java_client\\ApiDemos-debug.apk","platformName":"Android","deviceName":"Android Emulator"},"requiredCapabilities":{}},null,null] | |
[Appium] Creating new AndroidDriver session | |
[Appium] Capabilities: | |
[Appium] app: 'C:\\appium\\java-client\\src\\test\\java\\io\\appium\\java_client\\ApiDemos-debug.apk' | |
[Appium] platformName: 'Android' | |
[Appium] deviceName: 'Android Emulator' | |
[debug] [AndroidDriver] AndroidDriver version: 1.10.35 | |
[BaseDriver] Session created with session id: 299dd43e-502e-40b1-88cf-f84a6cf43c0d | |
[debug] [AndroidDriver] Getting Java version | |
[AndroidDriver] Java version is: 1.8.0_101 | |
[ADB] Checking whether adb is present | |
[ADB] Using adb.exe from C:\MyAndroid\platform-tools\adb.exe | |
[AndroidDriver] Retrieving device list | |
[debug] [ADB] Trying to find a connected android device | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[AndroidDriver] Using device: emulator-5554 | |
[ADB] Checking whether adb is present | |
[ADB] Using adb.exe from C:\MyAndroid\platform-tools\adb.exe | |
[debug] [ADB] Setting device id to emulator-5554 | |
[BaseDriver] Using local app 'C:\appium\java-client\src\test\java\io\appium\java_client\ApiDemos-debug.apk' | |
[debug] [AndroidDriver] Checking whether app is actually present | |
[AndroidDriver] Starting Android session | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","wait-for-device"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","echo","ping"] | |
[debug] [Logcat] Starting logcat capture | |
[debug] [AndroidDriver] Pushing settings apk to device... | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","install","C:\\Users\\Sergey\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\io.appium.settings\\bin\\settings_apk-debug.apk"] | |
[debug] [AndroidDriver] Pushing unlock helper app to device... | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","install","C:\\Users\\Sergey\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-unlock\\bin\\unlock_apk-debug.apk"] | |
[ADB] Getting device platform version | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","getprop","ro.build.version.release"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","dumpsys","window"] | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[debug] [AndroidDriver] Parsing package and activity from app manifest | |
[ADB] Checking whether aapt is present | |
[ADB] Using aapt.exe from C:\MyAndroid\build-tools\25.0.0\aapt.exe | |
[ADB] Extracting package and launch activity from manifest | |
[debug] [ADB] badging package: io.appium.android.apis | |
[debug] [ADB] badging act: io.appium.android.apis.ApiDemos | |
[debug] [AndroidDriver] Parsed package and activity are: io.appium.android.apis/io.appium.android.apis.ApiDemos | |
[AndroidDriver] Remote apk path is /data/local/tmp/29649242b53e9a67ba855b067422713c.apk | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","ls","/data/local/tmp/29649242b53e9a67ba855b067422713c.apk"] | |
[debug] [AndroidDriver] Checking if app is installed | |
[debug] [ADB] Getting install status for io.appium.android.apis | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","getprop","ro.build.version.sdk"] | |
[debug] [ADB] Device API level: 19 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","pm","list","packages","-3","io.appium.android.apis"] | |
[debug] [ADB] App is installed | |
[AndroidDriver] Apk is already on remote and installed, resetting | |
[debug] [AndroidDriver] Running fast reset (stop and clear) | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","am","force-stop","io.appium.android.apis"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","pm","clear","io.appium.android.apis"] | |
[debug] [AndroidDriver] Extracting strings from apk C:\appium\java-client\src\test\java\io\appium\java_client\ApiDemos-debug.apk null C:\Users\Sergey\AppData\Local\Temp\io.appium.android.apis | |
[debug] [ADB] Extracting strings for language: default | |
[debug] [ADB] Device API level: 19 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","getprop","persist.sys.language"] | |
[debug] [ADB] Current device property 'persist.sys.language': en | |
[debug] [ADB] No strings.xml for language 'en', getting default strings.xml | |
[debug] [ADB] Reading strings from converted strings.json | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","push","C:\\Users\\Sergey\\AppData\\Local\\Temp\\io.appium.android.apis\\strings.json","/data/local/tmp"] | |
[debug] [AndroidBootstrap] Watching for bootstrap disconnect | |
[debug] [ADB] Forwarding system: 4724 to device: 4724 | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","forward","tcp:4724","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:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","push","C:\\Users\\Sergey\\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] 1 device(s) connected | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","ps"] | |
[ADB] No uiautomator process found to kill, continuing... | |
[debug] [UiAutomator] Starting UIAutomator | |
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","emulator-5554","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","io.appium.android.apis","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false] | |
[debug] [UiAutomator] Moving to state 'online' | |
[AndroidBootstrap] Android bootstrap socket is now connected | |
[debug] [ADB] Device API level: 19 | |
[debug] [ADB] Getting connected devices... | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete. | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers. | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","am","start","-W","-n","io.appium.android.apis/io.appium.android.apis.ApiDemos","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"] | |
[debug] [ADB] Waiting for pkg: 'io.appium.android.apis' and activity: 'io.appium.android.apis.ApiDemos' to be focused | |
[debug] [ADB] Possible activities, to be checked: io.appium.android.apis.ApiDemos, .ApiDemos, .io.appium.android.apis.ApiDemos | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'io.appium.android.apis' and activity: '.ApiDemos' | |
[Appium] New AndroidDriver session created successfully, session 299dd43e-502e-40b1-88cf-f84a6cf43c0d added to master session list | |
[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":{"app":"C:\\appium\\java-client\\src\\test\\java\\io\\appium\\java_client\\ApiDemos-debug.apk","platformName":"Android","deviceName":"Android Emulator"},"app":"C:\\appium\\java-client\\src\\test\\java\\io\\appium\\java_client\\ApiDemos-debug.apk","platformName":"Android","deviceName":"emulator-5554","deviceUDID":"emulator-5554","platformVersion":"4.4.2","appPackage":"io.appium.android.apis","appWaitPackage":"io.appium.android.apis","appActivity":"io.appium.android.apis.ApiDemos","appWaitActivity":"io.appium.android.apis.ApiDemos"} | |
[HTTP] <-- POST /wd/hub/session 200 6180 ms - 813 | |
янв 02, 2017 1:58:01 PM org.openqa.selenium.remote.ProtocolHandshake createSession | |
INFO: Detected dialect: OSS | |
[HTTP] --> GET /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d {} | |
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["299dd43e-502e-40b1-88cf-f84a6cf43c0d"] | |
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"app":"C:\\appium\\java-client\\src\\test\\java\\io\\appium\\java_client\\ApiDemos-debug.apk","platformName":"Android","deviceName":"Android Emulator"},"app":"C:\\appium\\java-client\\src\\test\\java\\io\\appium\\java_client\\ApiDemos-debug.apk","platformName":"Android","deviceName":"emulator-5554","deviceUDID":"emulator-5554","platformVersion":"4.4.2","appPackage":"io.appium.android.apis","appWaitPackage":"io.appium.android.apis","appActivity":"io.appium.android.apis.ApiDemos","appWaitActivity":"io.appium.android.apis.ApiDemos"} | |
[HTTP] <-- GET /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d 200 19 ms - 813 | |
[HTTP] --> GET /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d {} | |
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["299dd43e-502e-40b1-88cf-f84a6cf43c0d"] | |
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"app":"C:\\appium\\java-client\\src\\test\\java\\io\\appium\\java_client\\ApiDemos-debug.apk","platformName":"Android","deviceName":"Android Emulator"},"app":"C:\\appium\\java-client\\src\\test\\java\\io\\appium\\java_client\\ApiDemos-debug.apk","platformName":"Android","deviceName":"emulator-5554","deviceUDID":"emulator-5554","platformVersion":"4.4.2","appPackage":"io.appium.android.apis","appWaitPackage":"io.appium.android.apis","appActivity":"io.appium.android.apis.ApiDemos","appWaitActivity":"io.appium.android.apis.ApiDemos"} | |
[HTTP] <-- GET /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d 200 9 ms - 813 | |
[HTTP] --> GET /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d {} | |
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["299dd43e-502e-40b1-88cf-f84a6cf43c0d"] | |
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"app":"C:\\appium\\java-client\\src\\test\\java\\io\\appium\\java_client\\ApiDemos-debug.apk","platformName":"Android","deviceName":"Android Emulator"},"app":"C:\\appium\\java-client\\src\\test\\java\\io\\appium\\java_client\\ApiDemos-debug.apk","platformName":"Android","deviceName":"emulator-5554","deviceUDID":"emulator-5554","platformVersion":"4.4.2","appPackage":"io.appium.android.apis","appWaitPackage":"io.appium.android.apis","appActivity":"io.appium.android.apis.ApiDemos","appWaitActivity":"io.appium.android.apis.ApiDemos"} | |
[HTTP] <-- GET /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d 200 8 ms - 813 | |
[HTTP] --> POST /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d/timeouts {"type":"implicit","ms":0} | |
[debug] [MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",0,"299dd43e-502e-40b1-88cf-f84a6cf43c0d"] | |
[debug] [BaseDriver] Set implicit wait to 0ms | |
[debug] [MJSONWP] Responding to client with driver.timeouts() result: null | |
[HTTP] <-- POST /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d/timeouts 200 8 ms - 76 | |
[HTTP] --> GET /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d/context {} | |
[debug] [MJSONWP] Calling AppiumDriver.getCurrentContext() with args: ["299dd43e-502e-40b1-88cf-f84a6cf43c0d"] | |
[debug] [MJSONWP] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" | |
[HTTP] <-- GET /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d/context 200 11 ms - 84 | |
[HTTP] --> POST /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d/element {"using":"-android uiautomator","value":"new UiSelector().resourceId(\"android:id/content\")"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().resourceId(\"android:id/content\")","299dd43e-502e-40b1-88cf-f84a6cf43c0d"] | |
[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":"-android uiautomator","selector":"new UiSelector().resourceId(\"android:id/content\")","context":"","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"android:id/content\")","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 'new UiSelector().resourceId("android:id/content")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("android:id/content") | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "android:id/content" | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=android:id/content] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"ELEMENT":"1"},"status":0} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"1"} | |
[HTTP] <-- POST /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d/element 200 116 ms - 87 | |
[HTTP] --> POST /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d/element/1/element {"id":"1","using":"-android uiautomator","value":"new UiSelector().resourceId(\"android:id/list\")"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElementFromElement() with args: ["-android uiautomator","new UiSelector().resourceId(\"android:id/list\")","1","299dd43e-502e-40b1-88cf-f84a6cf43c0d"] | |
[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":"-android uiautomator","selector":"new UiSelector().resourceId(\"android:id/list\")","context":"1","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"android:id/list\")","context":"1","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("android:id/list")' using 'ANDROID_UIAUTOMATOR' with the contextId: '1' multiple: false | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("android:id/list") | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "android:id/list" | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=android:id/list] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"ELEMENT":"2"},"status":0} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElementFromElement() result: {"ELEMENT":"2"} | |
[HTTP] <-- POST /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d/element/1/element 200 122 ms - 87 | |
[HTTP] --> POST /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d/element/2/element {"id":"2","using":"id","value":"android:id/text1"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElementFromElement() with args: ["id","android:id/text1","2","299dd43e-502e-40b1-88cf-f84a6cf43c0d"] | |
[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":"id","selector":"android:id/text1","context":"2","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"android:id/text1","context":"2","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:id/text1' using 'ID' with the contextId: '2' multiple: false | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=android:id/text1] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"ELEMENT":"3"},"status":0} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElementFromElement() result: {"ELEMENT":"3"} | |
[HTTP] <-- POST /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d/element/2/element 200 61 ms - 87 | |
[HTTP] --> POST /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d/timeouts {"type":"implicit","ms":5000} | |
[debug] [MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",5000,"299dd43e-502e-40b1-88cf-f84a6cf43c0d"] | |
[debug] [BaseDriver] Set implicit wait to 5000ms | |
[debug] [MJSONWP] Responding to client with driver.timeouts() result: null | |
[HTTP] <-- POST /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d/timeouts 200 6 ms - 76 | |
[HTTP] --> GET /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d/element/3/attribute/text {} | |
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","3","299dd43e-502e-40b1-88cf-f84a6cf43c0d"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"text","elementId":"3"}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"text","elementId":"3"}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":"Accessibility","status":0} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "Accessibility" | |
[HTTP] <-- GET /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d/element/3/attribute/text 200 42 ms - 87 | |
[HTTP] --> DELETE /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d {} | |
[debug] [MJSONWP] Calling AppiumDriver.deleteSession() with args: ["299dd43e-502e-40b1-88cf-f84a6cf43c0d"] | |
[debug] [AndroidDriver] Shutting down Android driver | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","am","force-stop","io.appium.android.apis"] | |
[debug] [ADB] Pressing the HOME button | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","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: {"value":"OK, shutting down","status":0} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Closed client connection | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: numtests=1 | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream=. | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: test=testRunServer | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: current=1 | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: 0 | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream= | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] Test results for WatcherResultPrinter=. | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] Time: 4.12 | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] OK (1 test) | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: -1 | |
[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] 1 device(s) connected | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","ps"] | |
[ADB] No uiautomator process found to kill, continuing... | |
[debug] [UiAutomator] Moving to state 'stopped' | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\MyAndroid\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","am","force-stop","io.appium.unlock"] | |
[debug] [Logcat] Stopping logcat capture | |
[debug] [AndroidDriver] Not cleaning generated files. Add `clearSystemFiles` capability if wanted. | |
[Appium] Removing session 299dd43e-502e-40b1-88cf-f84a6cf43c0d from our master session list | |
[debug] [MJSONWP] Received response: null | |
[debug] [MJSONWP] But deleting session, so not returning | |
[debug] [MJSONWP] Responding to client with driver.deleteSession() result: null | |
[HTTP] <-- DELETE /wd/hub/session/299dd43e-502e-40b1-88cf-f84a6cf43c0d 200 1857 ms - 76 | |
BUILD SUCCESSFUL | |
Total time: 40.307 secs | |
13:58:06: External tasks execution finished ':cleanTest :test --tests "io.appium.java_client.pagefactory_tests.AndroidPageObjectTest.androidOrIOSFindByElementTestChainSearches"'. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment