Last active
February 20, 2018 07:34
-
-
Save shridharkalagi/ac7fb48657971c8b56941737361976a6 to your computer and use it in GitHub Desktop.
UIAutomator2 logs
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
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"82557701-5e00-436a-a0ac-ea10614626c8","status":0,"value":"Created Session"} | |
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.vodqareactnative/com.vodqareactnative.MainActivity'. Starting it ourselves | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","am","start","-W","-n","com.vodqareactnative/com.vodqareactnative.MainActivity","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"] | |
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/shridhk/GitHub/AppiumSample/VodQA.apk","automationName":"UIAutomator2","deviceName":"Test","platformName":"Android"},"capabilities":{"desiredCapabilities":{"app":"/Users/shridhk/GitHub/AppiumSample/VodQA.apk","automationName":"UIAutomator2","deviceName":"Test","platformName":"Android"},"firstMatch":[{"platformName":"android"}]}} | |
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/shridhk/GitHub/AppiumSample/VodQA.apk","automationName":"UIAutomator2","deviceName":"Test","platformName":"Android"},null,{"desiredCapabilities":{"app":"/Users/shridhk/GitHub/AppiumSample/VodQA.apk","automationName":"UIAutomator2","deviceName":"Test","platformName":"Android"},"firstMatch":[{"platformName":"android"}]}] | |
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1519111911027 (13:01:51 GMT+0530 (IST)) | |
[Appium] Merged W3C capabilities {"desiredCapabilities":{"app":"/Users/shridhk/G... into desiredCapabilities object {"app":"/Users/shridhk/GitHub/AppiumSample/VodQ... | |
[Appium] Creating new AndroidUiautomator2Driver (v0.11.0) session | |
[Appium] Capabilities: | |
[Appium] app: /Users/shridhk/GitHub/AppiumSample/VodQA.apk | |
[Appium] automationName: UIAutomator2 | |
[Appium] deviceName: Test | |
[Appium] platformName: android | |
[BaseDriver] Session created with session id: ed070aed-23be-41a6-98e6-b1690622cb9c | |
[BaseDriver] Using local app '/Users/shridhk/GitHub/AppiumSample/VodQA.apk' | |
[debug] [UiAutomator2] Checking whether app is actually present | |
[debug] [AndroidDriver] Getting Java version | |
[AndroidDriver] Java version is: 1.8.0_65 | |
[ADB] Checking whether adb is present | |
[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: SW85KVJRWS6TDQT4 | |
[ADB] Checking whether adb is present | |
[debug] [ADB] Setting device id to SW85KVJRWS6TDQT4 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","getprop","ro.build.version.sdk"] | |
[debug] [ADB] Current device property 'ro.build.version.sdk': 23 | |
[debug] [ADB] Device API level: 23 | |
[debug] [AndroidDriver] Parsing package and activity from app manifest | |
[ADB] Checking whether aapt is present | |
[ADB] Extracting package and launch activity from manifest | |
[debug] [ADB] badging package: com.vodqareactnative | |
[debug] [ADB] badging act: com.vodqareactnative.MainActivity | |
[debug] [AndroidDriver] Parsed package and activity are: com.vodqareactnative/com.vodqareactnative.MainActivity | |
[ADB] Getting device platform version | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","getprop","ro.build.version.release"] | |
[debug] [ADB] Current device property 'ro.build.version.release': 6.0 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","wm","size"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","wm","density"] | |
[debug] [ADB] Waiting up to 20000ms for activity matching pkg: 'com.vodqareactnative' and activity: 'com.vodqareactnative.MainActivity' to be focused | |
[debug] [ADB] Possible activities, to be checked: 'com.vodqareactnative.MainActivity' | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.vodqareactnative' and fully qualified activity name : 'com.vodqareactnative.MainActivity' | |
[Appium] New AndroidUiautomator2Driver session created successfully, session 2b3293b6-d529-4cba-bebb-6ba4fe7b869e added to master session list | |
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1519111913001 (13:01:53 GMT+0530 (IST)) | |
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"app":"/Users/shridhk/GitHub/AppiumSample/VodQA.apk","automationName":"UIAutomator2","deviceName":"Test","platformName":"android"} | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","getprop","ro.product.model"] | |
[debug] [ADB] Current device property 'ro.product.model': Lenovo K50a40 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","getprop","ro.product.manufacturer"] | |
[debug] [ADB] Current device property 'ro.product.manufacturer': LENOVO | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","am","force-stop","io.appium.uiautomator2.server"] | |
[debug] [UiAutomator2] [UIAutomator2] | |
[debug] [UiAutomator2] [UIAutomator2] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:INSTRUMENTATION_RESULT: shortMsg=Process crashed. | |
[debug] [UiAutomator2] [UIAutomator2] INSTRUMENTATION_CODE: 0 | |
[ADB] Checking whether aapt is present | |
[debug] [ADB] Getting install status for io.appium.uiautomator2.server | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","pm","list","packages","io.appium.uiautomator2.server"] | |
[debug] [ADB] App is installed | |
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","pm","list","packages","io.appium.uiautomator2.server.test"] | |
[debug] [ADB] App is installed | |
[debug] [ADB] Getting package info for io.appium.uiautomator2.server | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","dumpsys","package","io.appium.uiautomator2.server"] | |
[debug] [UiAutomator2] Waiting up to 20000ms for instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' to be available | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","pm","list","instrumentation"] | |
[debug] [UiAutomator2] Instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' available | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","wait-for-device"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","echo","ping"] | |
[AndroidDriver] setDeviceLanguageCountry requires language or country. | |
[AndroidDriver] Got language: 'null' and country: 'null' | |
[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] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","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... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","dumpsys","package","io.appium.settings"] | |
[ADB] Checking whether aapt is present | |
[debug] [ADB] The installed 'io.appium.settings' package does not require upgrade (5 >= 5) | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","dumpsys","package","io.appium.settings"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","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] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","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] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","ps"] | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","am","start","-W","-n","io.appium.settings/.Settings","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"] | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","appops","set","io.appium.settings","android:mock_location","allow"] | |
[debug] [AndroidDriver] Pushing unlock helper app to device... | |
[debug] [ADB] Getting install status for io.appium.unlock | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","pm","list","packages","io.appium.unlock"] | |
[debug] [ADB] App is installed | |
[debug] [ADB] Getting package info for io.appium.unlock | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","dumpsys","package","io.appium.unlock"] | |
[ADB] Checking whether aapt is present | |
[debug] [ADB] The installed 'io.appium.unlock' package is older than '/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk' (1 < 2). Executing upgrade | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","install","-r","/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"] | |
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8201 | |
[debug] [ADB] Forwarding system: 8201 to device: 6790 | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","forward","tcp:8201","tcp:6790"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","dumpsys","window"] | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[debug] [AndroidDriver] Extracting strings from apk /Users/shridhk/GitHub/AppiumSample/VodQA.apk null /var/folders/qf/cs_yjfm15tlc_0d0wjfc12p80000gp/T/com.vodqareactnative | |
[debug] [ADB] Extracting strings for language: default | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","getprop","persist.sys.locale"] | |
[debug] [ADB] Current device property 'persist.sys.locale': en-US | |
[debug] [ADB] No strings.xml for language 'en', getting default strings.xml | |
[debug] [ADB] Reading strings from converted strings.json | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","push","/var/folders/qf/cs_yjfm15tlc_0d0wjfc12p80000gp/T/com.vodqareactnative/strings.json","/data/local/tmp"] | |
[debug] [ADB] Checking app cert for /Users/shridhk/GitHub/AppiumSample/VodQA.apk | |
[debug] [ADB] Starting '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/build-tools/27.0.2/apksigner' with args 'verify,/Users/shridhk/GitHub/AppiumSample/VodQA.apk' | |
[debug] [ADB] '/Users/shridhk/GitHub/AppiumSample/VodQA.apk' is already signed. | |
[AndroidDriver] Remote apk path is /data/local/tmp/46b15b9001eeecb789d958cc04102a44.apk | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","ls","/data/local/tmp/46b15b9001eeecb789d958cc04102a44.apk"] | |
[debug] [AndroidDriver] Checking if app is installed | |
[debug] [ADB] Getting install status for com.vodqareactnative | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","pm","list","packages","com.vodqareactnative"] | |
[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 '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","am","force-stop","com.vodqareactnative"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","pm","clear","com.vodqareactnative"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","am","force-stop","io.appium.uiautomator2.server"] | |
[UiAutomator2] Starting uiautomator2 server v0.3.0 | |
[UiAutomator2] Running command: 'adb -s SW85KVJRWS6TDQT4 shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' | |
[UiAutomator2] Waiting up to 20000ms for UiAutomator2 to be online... | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8201/wd/hub/status] with no body | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8201/wd/hub/status] with no body | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8201/wd/hub/status] with no body | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8201/wd/hub/status] with no body | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8201/wd/hub/status] with no body | |
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"SESSIONID\",\"status\":0,\"value\":\"Status Invoked\"}" | |
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8201/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"app":"/Users/shridhk/GitHub/AppiumSample/VodQA.apk","automationName":"UIAutomator2","deviceName":"Test","platformName":"android"},"app":"/Users/shridhk/GitHub/AppiumSample/VodQA.apk","automationName":"UIAutomator2","deviceName":"SW85KVJRWS6TDQT4","platformName":"android","deviceUDID":"SW85KVJRWS6TDQT4","platformVersion":"6.0","deviceScreenSize":"1080x1920","deviceScreenDensity":480,"deviceModel":"Lenovo K50a40","deviceManufacturer":"LENOVO","appPackage":"com.vodqareactnative"}} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"530ed64e-3828-4f1b-a41c-2958f48c574a","status":0,"value":"Created Session"} | |
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.vodqareactnative/com.vodqareactnative.MainActivity'. Starting it ourselves | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","am","start","-W","-n","com.vodqareactnative/com.vodqareactnative.MainActivity","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"] | |
[debug] [ADB] Waiting up to 20000ms for activity matching pkg: 'com.vodqareactnative' and activity: 'com.vodqareactnative.MainActivity' to be focused | |
[debug] [ADB] Possible activities, to be checked: 'com.vodqareactnative.MainActivity' | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.vodqareactnative' and fully qualified activity name : 'com.vodqareactnative.MainActivity' | |
[Appium] New AndroidUiautomator2Driver session created successfully, session ed070aed-23be-41a6-98e6-b1690622cb9c added to master session list | |
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1519111937209 (13:02:17 GMT+0530 (IST)) | |
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"app":"/Users/shridhk/GitHub/AppiumSample/VodQA.apk","automationName":"UIAutomator2","deviceName":"Test","platformName":"android"} | |
[HTTP] <-- POST /wd/hub/session 200 26185 ms - 203 | |
[HTTP] --> GET /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c {} | |
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["ed070aed-23be-41a6-98e6-b1690622cb9c"] | |
[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":"/Users/shridhk/GitHub/AppiumSample/VodQA.apk","automationName":"UIAutomator2","deviceName":"Test","platformName":"android"},"app":"/Users/shridhk/GitHub/AppiumSample/VodQA.apk","automationName":"UIAutomator2","deviceName":"SW85KVJRWS6TDQT4","platformName":"android","deviceUDID":"SW85KVJRWS6TDQT4","platformVersion":"6.0","deviceScreenSize":"1080x1920","deviceScreenDensity":480,"deviceModel":"Lenovo K50a40","deviceManufacturer":"LENOVO","appPackage":"com.vodqareactnative"} | |
[HTTP] <-- GET /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c 200 3 ms - 760 | |
[HTTP] --> GET /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c {} | |
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["ed070aed-23be-41a6-98e6-b1690622cb9c"] | |
[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":"/Users/shridhk/GitHub/AppiumSample/VodQA.apk","automationName":"UIAutomator2","deviceName":"Test","platformName":"android"},"app":"/Users/shridhk/GitHub/AppiumSample/VodQA.apk","automationName":"UIAutomator2","deviceName":"SW85KVJRWS6TDQT4","platformName":"android","deviceUDID":"SW85KVJRWS6TDQT4","platformVersion":"6.0","deviceScreenSize":"1080x1920","deviceScreenDensity":480,"deviceModel":"Lenovo K50a40","deviceManufacturer":"LENOVO","appPackage":"com.vodqareactnative"} | |
[HTTP] <-- GET /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c 200 1 ms - 760 | |
[HTTP] --> POST /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c/elements {"using":"accessibility id","value":"login"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: ["accessibility id","login","ed070aed-23be-41a6-98e6-b1690622cb9c"] | |
[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] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8201/wd/hub/session/530ed64e-3828-4f1b-a41c-2958f48c574a/elements] with body: {"strategy":"accessibility id","selector":"login","context":"","multiple":true} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"530ed64e-3828-4f1b-a41c-2958f48c574a","status":0,"value":[{"ELEMENT":"e6425e51-3444-4fa2-b8ef-f09c99f37b2c"}]} | |
[debug] [MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"e6425e51-3444-4fa2-b8ef-f09c99f37b2c"}] | |
[HTTP] <-- POST /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c/elements 200 1045 ms - 124 | |
[HTTP] --> GET /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c/element/e6425e51-3444-4fa2-b8ef-f09c99f37b2c/displayed {} | |
[debug] [MJSONWP] Calling AppiumDriver.elementDisplayed() with args: ["e6425e51-3444-4fa2-b8ef-f09c99f37b2c","ed070aed-23be-41a6-98e6-b1690622cb9c"] | |
[debug] [JSONWP Proxy] Proxying [GET /element/e6425e51-3444-4fa2-b8ef-f09c99f37b2c/attribute/displayed] to [GET http://localhost:8201/wd/hub/session/530ed64e-3828-4f1b-a41c-2958f48c574a/element/e6425e51-3444-4fa2-b8ef-f09c99f37b2c/attribute/displayed] with body: {} | |
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"530ed64e-3828-4f1b-a41c-2958f48c574a\",\"status\":0,\"value\":\"true\"}" | |
[debug] [MJSONWP] Responding to client with driver.elementDisplayed() result: true | |
[HTTP] <-- GET /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c/element/e6425e51-3444-4fa2-b8ef-f09c99f37b2c/displayed 200 558 ms - 76 | |
[HTTP] --> GET /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c/element/e6425e51-3444-4fa2-b8ef-f09c99f37b2c/enabled {} | |
[debug] [MJSONWP] Calling AppiumDriver.elementEnabled() with args: ["e6425e51-3444-4fa2-b8ef-f09c99f37b2c","ed070aed-23be-41a6-98e6-b1690622cb9c"] | |
[debug] [JSONWP Proxy] Proxying [GET /element/e6425e51-3444-4fa2-b8ef-f09c99f37b2c/attribute/enabled] to [GET http://localhost:8201/wd/hub/session/530ed64e-3828-4f1b-a41c-2958f48c574a/element/e6425e51-3444-4fa2-b8ef-f09c99f37b2c/attribute/enabled] with body: {} | |
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"530ed64e-3828-4f1b-a41c-2958f48c574a\",\"status\":0,\"value\":\"true\"}" | |
[debug] [MJSONWP] Responding to client with driver.elementEnabled() result: true | |
[HTTP] <-- GET /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c/element/e6425e51-3444-4fa2-b8ef-f09c99f37b2c/enabled 200 59 ms - 76 | |
[HTTP] --> POST /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c/element/e6425e51-3444-4fa2-b8ef-f09c99f37b2c/click {"id":"e6425e51-3444-4fa2-b8ef-f09c99f37b2c"} | |
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["e6425e51-3444-4fa2-b8ef-f09c99f37b2c","ed070aed-23be-41a6-98e6-b1690622cb9c"] | |
[debug] [JSONWP Proxy] Proxying [POST /element/e6425e51-3444-4fa2-b8ef-f09c99f37b2c/click] to [POST http://localhost:8201/wd/hub/session/530ed64e-3828-4f1b-a41c-2958f48c574a/element/e6425e51-3444-4fa2-b8ef-f09c99f37b2c/click] with body: {"element":"e6425e51-3444-4fa2-b8ef-f09c99f37b2c"} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"530ed64e-3828-4f1b-a41c-2958f48c574a","status":0,"value":true} | |
[debug] [MJSONWP] Responding to client with driver.click() result: true | |
[HTTP] <-- POST /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c/element/e6425e51-3444-4fa2-b8ef-f09c99f37b2c/click 200 78 ms - 76 | |
[HTTP] --> POST /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c/element {"using":"accessibility id","value":"slider1"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["accessibility id","slider1","ed070aed-23be-41a6-98e6-b1690622cb9c"] | |
[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] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8201/wd/hub/session/530ed64e-3828-4f1b-a41c-2958f48c574a/element] with body: {"strategy":"accessibility id","selector":"slider1","context":"","multiple":false} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"530ed64e-3828-4f1b-a41c-2958f48c574a","status":0,"value":{"ELEMENT":"d8902dab-7c3d-4a49-987e-c16e8719fdfb"}} | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"d8902dab-7c3d-4a49-987e-c16e8719fdfb"} | |
[HTTP] <-- POST /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c/element 200 71 ms - 122 | |
[HTTP] --> POST /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c/element/d8902dab-7c3d-4a49-987e-c16e8719fdfb/click {"id":"d8902dab-7c3d-4a49-987e-c16e8719fdfb"} | |
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["d8902dab-7c3d-4a49-987e-c16e8719fdfb","ed070aed-23be-41a6-98e6-b1690622cb9c"] | |
[debug] [JSONWP Proxy] Proxying [POST /element/d8902dab-7c3d-4a49-987e-c16e8719fdfb/click] to [POST http://localhost:8201/wd/hub/session/530ed64e-3828-4f1b-a41c-2958f48c574a/element/d8902dab-7c3d-4a49-987e-c16e8719fdfb/click] with body: {"element":"d8902dab-7c3d-4a49-987e-c16e8719fdfb"} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"530ed64e-3828-4f1b-a41c-2958f48c574a","status":0,"value":true} | |
[debug] [MJSONWP] Responding to client with driver.click() result: true | |
[HTTP] <-- POST /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c/element/d8902dab-7c3d-4a49-987e-c16e8719fdfb/click 200 27 ms - 76 | |
[HTTP] --> POST /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c/element {"using":"accessibility id","value":"slider"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["accessibility id","slider","ed070aed-23be-41a6-98e6-b1690622cb9c"] | |
[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] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8201/wd/hub/session/530ed64e-3828-4f1b-a41c-2958f48c574a/element] with body: {"strategy":"accessibility id","selector":"slider","context":"","multiple":false} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"530ed64e-3828-4f1b-a41c-2958f48c574a","status":0,"value":{"ELEMENT":"e88784ca-daf0-49ed-9a29-b0dd9ad40d40"}} | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"e88784ca-daf0-49ed-9a29-b0dd9ad40d40"} | |
[HTTP] <-- POST /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c/element 200 616 ms - 122 | |
[HTTP] --> POST /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c/appium/element/e88784ca-daf0-49ed-9a29-b0dd9ad40d40/value {"id":"e88784ca-daf0-49ed-9a29-b0dd9ad40d40","value":"40"} | |
[debug] [MJSONWP] Calling AppiumDriver.setValueImmediate() with args: ["40","e88784ca-daf0-49ed-9a29-b0dd9ad40d40","ed070aed-23be-41a6-98e6-b1690622cb9c"] | |
[debug] [JSONWP Proxy] Proxying [POST /element/e88784ca-daf0-49ed-9a29-b0dd9ad40d40/click] to [POST http://localhost:8201/wd/hub/session/530ed64e-3828-4f1b-a41c-2958f48c574a/element/e88784ca-daf0-49ed-9a29-b0dd9ad40d40/click] with body: {"element":"e88784ca-daf0-49ed-9a29-b0dd9ad40d40"} | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"530ed64e-3828-4f1b-a41c-2958f48c574a","status":0,"value":true} | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","input","text","40"] | |
[debug] [MJSONWP] Responding to client with driver.setValueImmediate() result: null | |
[HTTP] <-- POST /wd/hub/session/ed070aed-23be-41a6-98e6-b1690622cb9c/appium/element/e88784ca-daf0-49ed-9a29-b0dd9ad40d40/value 200 1114 ms - 76 | |
[BaseDriver] Shutting down because we waited 60 seconds for a command | |
[debug] [UiAutomator2] Deleting UiAutomator2 session | |
[Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability' | |
[Appium] Removing session 2b3293b6-d529-4cba-bebb-6ba4fe7b869e from our master session list | |
[debug] [UiAutomator2] Deleting UiAutomator2 server session | |
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://localhost:8200/wd/hub/session/82557701-5e00-436a-a0ac-ea10614626c8] with no body | |
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"82557701-5e00-436a-a0ac-ea10614626c8\",\"status\":0,\"value\":\"Session deleted\"}" | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","am","force-stop","com.vodqareactnative"] | |
[debug] [Logcat] Stopping logcat capture | |
[debug] [ADB] Removing forwarded port socket connection: 8200 | |
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","forward","--remove","tcp:8200"] | |
[debug] [UiAutomator2] [UIAutomator2] | |
[debug] [UiAutomator2] [UIAutomator2] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:. | |
[debug] [UiAutomator2] [UIAutomator2] | |
[debug] [UiAutomator2] [UIAutomator2] Time: 40.044 | |
[debug] [UiAutomator2] [UIAutomator2] | |
[debug] [UiAutomator2] [UIAutomator2] OK (1 test) | |
[debug] [UiAutomator2] [UIAutomator2] | |
[debug] [UiAutomator2] [UIAutomator2] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment