Skip to content

Instantly share code, notes, and snippets.

@prashanth-sams
Created July 10, 2019 17:56
Show Gist options
  • Save prashanth-sams/806126260bb0745de3dee318e9a054c9 to your computer and use it in GitHub Desktop.
Save prashanth-sams/806126260bb0745de3dee318e9a054c9 to your computer and use it in GitHub Desktop.
Logs
[info] [Appium] Welcome to Appium v1.14.0
[info] [Appium] Non-default server args:
[info] [Appium] allowInsecure: {
[info] [Appium] }
[info] [Appium] denyInsecure: {
[info] [Appium] }
[info] [Appium] Appium REST http interface listener started on 0.0.0.0:4723[info] [HTTP] --> POST /wd/hub/session
[info] [HTTP] {"desiredCapabilities":{"deviceName":"emulator-5554","platformName":"Android","systemPort":"8200","app":"/Users/prashanth/Downloads/app-propertyFinderConsumer-debug.apk","autoGrantPermissions":true},"capabilities":{"firstMatch":[{"appium:deviceName":"emulator-5554","platformName":"Android","appium:systemPort":"8200","appium:app":"/Users/prashanth/Downloads/app-propertyFinderConsumer-debug.apk","appium:autoGrantPermissions":true}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"emulator-5554","platformName":"Android","systemPort":"8200","app":"/Users/prashanth/Downloads/app-propertyFinderConsumer-debug.apk","autoGrantPermissions":true},null,{"firstMatch":[{"appium:deviceName":"emulator-5554","platformName":"Android","appium:systemPort":"8200","appium:app":"/Users/prashanth/Downloads/app-propertyFinderConsumer-debug.apk","appium:autoGrantPermissions":true}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1562780933658 (21:48:53 GMT+0400 (+04))
[warn] [Appium]
[warn] [Appium] ======================================================================
[warn] [Appium] DEPRECATION WARNING:
[warn] [Appium]
[warn] [Appium] The 'automationName' capability was not provided in the desired
[warn] [Appium] capabilities for this Android session
[warn] [Appium]
[warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the
[warn] [Appium] UiAutomator2 Driver
[warn] [Appium]
[warn] [Appium] The next major version of Appium (2.x) will **require** the
[warn] [Appium] 'automationName' capability to be set for all sessions on all
[warn] [Appium] platforms
[warn] [Appium]
[warn] [Appium] In previous versions (Appium <= 1.13.x), the default was
[warn] [Appium] 'automationName=UiAutomator1'
[warn] [Appium]
[warn] [Appium] If you wish to use that automation instead of UiAutomator2, please
[warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities
[warn] [Appium]
[warn] [Appium] For more information about drivers, please visit
[warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the
[warn] [Appium] 'Drivers' menu
[warn] [Appium]
[warn] [Appium] ======================================================================
[warn] [Appium]
[info] [Appium] Appium v1.14.0 creating new AndroidUiautomator2Driver (v1.33.1) session
[info] [Appium] Capabilities:
[info] [Appium] platformName: Android
[info] [Appium] deviceName: emulator-5554
[info] [Appium] systemPort: 8200
[info] [Appium] app: /Users/prashanth/Downloads/app-propertyFinderConsumer-debug.apk
[info] [Appium] autoGrantPermissions: true
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"deviceName":"emulator-555... were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa...
[warn] [BaseDriver] Number capability passed in as string. Functionality may be compromised.
[warn] [BaseDriver] Capability 'systemPort' changed from string ('8200') to integer (8200). This may cause unexpected behavior
[info] [BaseDriver] Session created with session id: b977b977-98dd-4032-a6cb-8993e6457fb6
[info] [BaseDriver] Using local app '/Users/prashanth/Downloads/app-propertyFinderConsumer-debug.apk'
[debug] [UiAutomator2] Checking whether app is actually present
[info] [ADB] Using 'adb' from '/Users/prashanth/Library/Android/sdk/platform-tools/adb'
[info] [AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[info] [AndroidDriver] Using device: emulator-5554
[info] [ADB] Using 'adb' from '/Users/prashanth/Library/Android/sdk/platform-tools/adb'
[debug] [ADB] Setting device id to emulator-5554
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[debug] [ADB] Current device property 'ro.build.version.sdk': 28
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 9
[debug] [ADB] Device API level: 28
[warn] [UiAutomator2] Relaxing hidden api policy
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell settings put global hidden_api_policy_pre_p_apps 1'
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell settings put global hidden_api_policy_p_apps 1'
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell settings put global hidden_api_policy 1'
[debug] [AndroidDriver] Parsing package and activity from app manifest
[info] [ADB] Using 'apkanalyzer' from '/Users/prashanth/Library/Android/sdk/tools/bin/apkanalyzer'
[debug] [ADB] Starting '/Users/prashanth/Library/Android/sdk/tools/bin/apkanalyzer' with args ["-h","manifest","print","/Users/prashanth/Downloads/app-propertyFinderConsumer-debug.apk"][info] [ADB] Package name: 'ae.propertyfinder.propertyfinder.debug'
[info] [ADB] Main activity name: 'ae.propertyfinder.consumer.ui.activity.ConfigurationActivity'
[debug] [AndroidDriver] Parsed package and activity are: ae.propertyfinder.propertyfinder.debug/ae.propertyfinder.consumer.ui.activity.ConfigurationActivity
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 wait-for-device'[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell echo ping'
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[debug] [ADB] 'io.appium.settings' is installed
[debug] [ADB] Getting package info for 'io.appium.settings'
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[info] [ADB] Using 'aapt' from '/Users/prashanth/Library/Android/sdk/build-tools/29.0.0/aapt'
[debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('2.14.1' >= '2.14.1')
[debug] [ADB] There is no need to install/upgrade '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/io.appium.settings/apks/settings_apk-debug.apk'
[debug] [ADB] Getting IDs of all 'io.appium.settings' processes
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?''
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pgrep -f io\\.appium\\.settings'
[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell appops set io.appium.settings android\:mock_location allow'
[debug] [Logcat] Starting logcat capture[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[debug] [ADB] 'io.appium.uiautomator2.server' is installed
[debug] [ADB] Getting package info for 'io.appium.uiautomator2.server'
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('3.7.0' >= '3.7.0')
[debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] [ADB] Checking app cert for /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v3.7.0.apk
[info] [ADB] Using 'apksigner' from '/Users/prashanth/Library/Android/sdk/build-tools/29.0.0/apksigner'
[debug] [ADB] Starting '/Users/prashanth/Library/Android/sdk/build-tools/29.0.0/apksigner' with args '["verify","--print-certs","/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v3.7.0.apk"]'[debug] [ADB] apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [ADB]
[debug] [ADB] '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v3.7.0.apk' is already signed.
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server.test'
[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed
[debug] [ADB] Checking app cert for /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [ADB]
[debug] [ADB] '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is already signed.
[info] [UiAutomator2] Server packages are not going to be (re)installed
[debug] [UiAutomator2] Waiting up to 30000ms for services to be available
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation'
[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200
[debug] [ADB] Forwarding system: 8200 to device: 6790
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp\:8200 tcp\:6790'
[debug] [ADB] Checking app cert for /Users/prashanth/Downloads/app-propertyFinderConsumer-debug.apk
[debug] [ADB] Starting '/Users/prashanth/Library/Android/sdk/build-tools/29.0.0/apksigner' with args '["verify","--print-certs","/Users/prashanth/Downloads/app-propertyFinderConsumer-debug.apk"]'[debug] [ADB] apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [ADB]
[debug] [ADB] '/Users/prashanth/Downloads/app-propertyFinderConsumer-debug.apk' is already signed.
[debug] [ADB] Getting install status for ae.propertyfinder.propertyfinder.debug
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package ae.propertyfinder.propertyfinder.debug'
[debug] [ADB] 'ae.propertyfinder.propertyfinder.debug' is installed
[debug] [ADB] Getting install status for ae.propertyfinder.propertyfinder.debug
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package ae.propertyfinder.propertyfinder.debug'[debug] [ADB] 'ae.propertyfinder.propertyfinder.debug' is installed
[debug] [ADB] Getting package info for 'ae.propertyfinder.propertyfinder.debug'
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package ae.propertyfinder.propertyfinder.debug'
[debug] [ADB] The version name of the installed 'ae.propertyfinder.propertyfinder.debug' is greater or equal to the application version name ('7.1.2' >= '7.1.2')
[debug] [ADB] There is no need to install/upgrade '/Users/prashanth/Downloads/app-propertyFinderConsumer-debug.apk'
[info] [AndroidDriver] Performing fast reset on 'ae.propertyfinder.propertyfinder.debug'
[debug] [ADB] Getting install status for ae.propertyfinder.propertyfinder.debug
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package ae.propertyfinder.propertyfinder.debug'
[debug] [ADB] 'ae.propertyfinder.propertyfinder.debug' is installed
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop ae.propertyfinder.propertyfinder.debug'
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm clear ae.propertyfinder.propertyfinder.debug'[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package ae.propertyfinder.propertyfinder.debug'[debug] [ADB] Retrieving requested permissions
[debug] [ADB] Retrieved 15 permission(s) from ["requested"] group(s)
[debug] [ADB] Retrieving granted permissions
[debug] [ADB] Retrieved 9 permission(s) from ["install","runtime"] group(s)
[debug] [ADB] Granting permissions ["android.permission.ACCESS_COARSE_LOCATION","android.permission.ACCESS_FINE_LOCATION","android.permission.READ_PHONE_STATE","android.permission.CALL_PHONE","android.permission.READ_EXTERNAL_STORAGE","android.permission.WRITE_EXTERNAL_STORAGE"] to 'ae.propertyfinder.propertyfinder.debug'
[debug] [ADB] Got the following command chunks to execute: [["pm","grant","ae.propertyfinder.propertyfinder.debug","android.permission.ACCESS_COARSE_LOCATION",";","pm","grant","ae.propertyfinder.propertyfinder.debug","android.permission.ACCESS_FINE_LOCATION",";","pm","grant","ae.propertyfinder.propertyfinder.debug","android.permission.READ_PHONE_STATE",";","pm","grant","ae.propertyfinder.propertyfinder.debug","android.permission.CALL_PHONE",";","pm","grant","ae.propertyfinder.propertyfinder.debug","android.permission.READ_EXTERNAL_STORAGE",";","pm","grant","ae.propertyfinder.propertyfinder.debug","android.permission.WRITE_EXTERNAL_STORAGE",";"]]
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm grant ae.propertyfinder.propertyfinder.debug android.permission.ACCESS_COARSE_LOCATION \; pm grant ae.propertyfinder.propertyfinder.debug android.permission.ACCESS_FINE_LOCATION \; pm grant ae.propertyfinder.propertyfinder.debug android.permission.READ_PHONE_STATE \; pm grant ae.propertyfinder.propertyfinder.debug android.permission.CALL_PHONE \; pm grant ae.propertyfinder.propertyfinder.debug android.permission.READ_EXTERNAL_STORAGE \; pm grant ae.propertyfinder.propertyfinder.debug android.permission.WRITE_EXTERNAL_STORAGE \;'
[debug] [AndroidDriver] Performed fast reset on the installed 'ae.propertyfinder.propertyfinder.debug' application (stop and clear)
[debug] [UiAutomator2] Performing shallow cleanup of automation leftovers
[debug] [UiAutomator2] No obsolete sessions have been detected (Error: socket hang up)
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[info] [UiAutomator2] Starting UIAutomator2 server 3.7.0
[info] [UiAutomator2] Using UIAutomator2 server from '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v3.7.0.apk' and test from '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk'
[info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online...
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","emulator-5554","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[warn] [WD Proxy] Got an unexpected response: {"code":"ECONNRESET"}[debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[warn] [WD Proxy] Got an unexpected response: {"code":"ECONNRESET"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"None\",\"status\":0,\"value\":\"Status Invoked\"}"
[debug] [WD Proxy] Determined that the downstream protocol for proxy is MJSONWP
[debug] [UiAutomator2] The initialization of the instrumentation process took 3120ms
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8200/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","deviceName":"emulator-5554","systemPort":8200,"app":"/Users/prashanth/Downloads/app-propertyFinderConsumer-debug.apk","autoGrantPermissions":true},"platformName":"Android","deviceName":"emulator-5554","systemPort":8200,"app":"/Users/prashanth/Downloads/app-propertyFinderConsumer-debug.apk","autoGrantPermissions":true,"deviceUDID":"emulator-5554","appPackage":"ae.propertyfinder.propertyfinder.debug"}}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"cc5fead9-5d44-469b-8618-c5befa480a0b","status":0,"value":"Created Session"}
[debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b/appium/device/info] with no body
[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"cc5fead9-5d44-469b-8618-c5befa480a0b\",\"status\":0,\"value\":{\"androidId\":\"60dfd844b0ff2745\",\"manufacturer\":\"Google\",\"model\":\"Android SDK built for x86\",\"brand\":\"google\",\"apiVersion\":\"28\",\"platformVersion\":\"9\",\"carrierName\":\"Android\",\"realDisplaySize\":\"1080x2160\",\"displayDensity\":440,\"networks\":[{\"type\":0,\"typeName\":\"MOBILE\",\"subtype\":13,\"subtypeName\":\"LTE\",\"isConnected\":true,\"detailedState\":\"CONNECTED\",\"state\":\"CONNECTED\",\"extraInfo\":\"epc.tmobile.com\",\"isAvailable\":true,\"isFailover\":false,\"isRoaming\":false,\"capabilities\":{\"transportTypes\":\"NET_CAPABILITY_MMS\",\"networkCapabilities\":\"\",\"linkUpstreamBandwidthKbps\":51200,\"linkDownBandwidthKbps\":102400,\"signalStrength\":-2147483648,\"networkSpecifier\":\"1\",\"SSID\":null}},{\"type\":1,\"typeName\":\"WIFI\",\"subtype\":0,\"subtypeName\":\"\",\"isConnected\":true,\"detailedState\":\"CONNECTED\",\"state\":\"CONNECTED\",\"extraInfo\":null,\"isAvailable\":true,\"i...
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window'
[info] [AndroidDriver] Screen already unlocked, doing nothing
[info] [UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'ae.propertyfinder.propertyfinder.debug/ae.propertyfinder.consumer.ui.activity.ConfigurationActivity'. Starting it ourselves
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am start -W -n ae.propertyfinder.propertyfinder.debug/ae.propertyfinder.consumer.ui.activity.ConfigurationActivity -S'[debug] [ADB] Waiting up to 20000ms for activity matching pkg: 'ae.propertyfinder.propertyfinder.debug' and activity: 'ae.propertyfinder.consumer.ui.activity.ConfigurationActivity' to be focused
[debug] [ADB] Possible activities, to be checked: 'ae.propertyfinder.consumer.ui.activity.ConfigurationActivity', 'ae.propertyfinder.propertyfinder.debug.ae.propertyfinder.consumer.ui.activity.ConfigurationActivity'
[debug] [ADB] Getting focused package and activity
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window windows'
[debug] [ADB] Found package: 'ae.propertyfinder.propertyfinder.debug' and fully qualified activity name : 'ae.propertyfinder.consumer.ui.activity.ConfigurationActivity'
[debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b/appium/device/pixel_ratio] with body: {}[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"cc5fead9-5d44-469b-8618-c5befa480a0b\",\"status\":0,\"value\":2.75}"
[debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b/appium/device/system_bars] with body: {}
[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"cc5fead9-5d44-469b-8618-c5befa480a0b\",\"status\":0,\"value\":{\"statusBar\":66}}"
[debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize'
[debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b/window/current/size] with body: {}
[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"cc5fead9-5d44-469b-8618-c5befa480a0b\",\"status\":0,\"value\":{\"height\":2028,\"width\":1080}}"
[info] [Appium] New AndroidUiautomator2Driver session created successfully, session b977b977-98dd-4032-a6cb-8993e6457fb6 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1562780946990 (21:49:06 GMT+0400 (+04))
[debug] [W3C (b977b977)] Cached the protocol value 'W3C' for the new session b977b977-98dd-4032-a6cb-8993e6457fb6
[debug] [W3C (b977b977)] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","deviceName":"emulator-5554","systemPort":8200,"app":"/Users/prashanth/Downloads/app-propertyFinderConsumer-debug.apk","autoGrantPermissions":true},"platformName":"Android","deviceName":"emulator-5554","systemPort":8200,"app":"/Users/prashanth/Downloads/app-propertyFinderConsumer-debug.apk","autoGrantPermissions":true,"deviceUDID":"emulator-5554","appPackage":"ae.propertyfinder.propertyfinder.debug","deviceApiLevel":28,"platformVersion":"9","deviceScreenSize":"1080x2160","deviceScreenDensity":440,"deviceModel":"Android SDK built for x86","deviceManufacturer":"Google","pixelRatio":2.75,"statBarHeight":66,"viewportRect":{"left":0,"top":66,"width":1080,"height":1962}}}
[info] [HTTP] <-- POST /wd/hub/session 200 13335 ms - 982
[info] [HTTP] 
[info] [HTTP] --> POST /wd/hub/session/b977b977-98dd-4032-a6cb-8993e6457fb6/timeouts
[info] [HTTP] {"implicit":60000}
[debug] [W3C (b977b977)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,60000,"b977b977-98dd-4032-a6cb-8993e6457fb6"]
[debug] [BaseDriver] W3C timeout argument: {"implicit":60000}}
[debug] [BaseDriver] Set implicit wait to 60000ms
[debug] [W3C (b977b977)] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/b977b977-98dd-4032-a6cb-8993e6457fb6/timeouts 200 4 ms - 14
[info] [HTTP] 
[info] [HTTP] --> GET /wd/hub/status
[info] [HTTP] {}
[debug] [GENERIC] Calling AppiumDriver.getStatus() with args: []
[debug] [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.14.0"}}
[info] [HTTP] <-- GET /wd/hub/status 200 1 ms - 68
[info] [HTTP] 
[info] [HTTP] --> POST /wd/hub/session/b977b977-98dd-4032-a6cb-8993e6457fb6/elements
[info] [HTTP] {"using":"id","value":"start"}
[debug] [W3C (b977b977)] Calling AppiumDriver.findElements() with args: ["id","start","b977b977-98dd-4032-a6cb-8993e6457fb6"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 60000 ms for condition
[debug] [WD Proxy] Matched '/elements' to command name 'findElements'
[debug] [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b/elements] with body: {"strategy":"id","selector":"start","context":"","multiple":true}[debug] [WD Proxy] Got response with status 200: {"sessionId":"cc5fead9-5d44-469b-8618-c5befa480a0b","status":0,"value":[]}
[debug] [BaseDriver] Waited for 168 ms so far[debug] [WD Proxy] Matched '/elements' to command name 'findElements'
[debug] [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b/elements] with body: {"strategy":"id","selector":"start","context":"","multiple":true}[debug] [WD Proxy] Got response with status 200: {"sessionId":"cc5fead9-5d44-469b-8618-c5befa480a0b","status":0,"value":[{"ELEMENT":"8461bf0b-4f4d-4cc6-8e72-532de8bfcc51"}]}
[debug] [W3C (b977b977)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"8461bf0b-4f4d-4cc6-8e72-532de8bfcc51","ELEMENT":"8461bf0b-4f4d-4cc6-8e72-532de8bfcc51"}]
[info] [HTTP] <-- POST /wd/hub/session/b977b977-98dd-4032-a6cb-8993e6457fb6/elements 200 1643 ms - 139
[info] [HTTP] 
[info] [HTTP] --> GET /wd/hub/session/b977b977-98dd-4032-a6cb-8993e6457fb6/element/8461bf0b-4f4d-4cc6-8e72-532de8bfcc51/displayed
[info] [HTTP] {}
[debug] [W3C (b977b977)] Calling AppiumDriver.elementDisplayed() with args: ["8461bf0b-4f4d-4cc6-8e72-532de8bfcc51","b977b977-98dd-4032-a6cb-8993e6457fb6"]
[debug] [WD Proxy] Matched '/element/8461bf0b-4f4d-4cc6-8e72-532de8bfcc51/attribute/displayed' to command name 'getAttribute'
[debug] [WD Proxy] Proxying [GET /element/8461bf0b-4f4d-4cc6-8e72-532de8bfcc51/attribute/displayed] to [GET http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b/element/8461bf0b-4f4d-4cc6-8e72-532de8bfcc51/attribute/displayed] with body: {}
[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"cc5fead9-5d44-469b-8618-c5befa480a0b\",\"status\":0,\"value\":\"true\"}"
[debug] [W3C (b977b977)] Responding to client with driver.elementDisplayed() result: true
[info] [HTTP] <-- GET /wd/hub/session/b977b977-98dd-4032-a6cb-8993e6457fb6/element/8461bf0b-4f4d-4cc6-8e72-532de8bfcc51/displayed 200 23 ms - 14
[info] [HTTP] 
[info] [HTTP] --> POST /wd/hub/session/b977b977-98dd-4032-a6cb-8993e6457fb6/element/8461bf0b-4f4d-4cc6-8e72-532de8bfcc51/click
[info] [HTTP] {}
[debug] [W3C (b977b977)] Calling AppiumDriver.click() with args: ["8461bf0b-4f4d-4cc6-8e72-532de8bfcc51","b977b977-98dd-4032-a6cb-8993e6457fb6"]
[debug] [WD Proxy] Matched '/element/8461bf0b-4f4d-4cc6-8e72-532de8bfcc51/click' to command name 'click'
[debug] [WD Proxy] Proxying [POST /element/8461bf0b-4f4d-4cc6-8e72-532de8bfcc51/click] to [POST http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b/element/8461bf0b-4f4d-4cc6-8e72-532de8bfcc51/click] with body: {"element":"8461bf0b-4f4d-4cc6-8e72-532de8bfcc51"}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"cc5fead9-5d44-469b-8618-c5befa480a0b","status":0,"value":true}
[debug] [W3C (b977b977)] Responding to client with driver.click() result: true
[info] [HTTP] <-- POST /wd/hub/session/b977b977-98dd-4032-a6cb-8993e6457fb6/element/8461bf0b-4f4d-4cc6-8e72-532de8bfcc51/click 200 35 ms - 14
[info] [HTTP] 
[info] [HTTP] --> POST /wd/hub/session/b977b977-98dd-4032-a6cb-8993e6457fb6/elements
[info] [HTTP] {"using":"id","value":"search_area_actions_filters"}
[debug] [W3C (b977b977)] Calling AppiumDriver.findElements() with args: ["id","search_area_actions_filters","b977b977-98dd-4032-a6cb-8993e6457fb6"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 60000 ms for condition
[debug] [WD Proxy] Matched '/elements' to command name 'findElements'
[debug] [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b/elements] with body: {"strategy":"id","selector":"search_area_actions_filters","context":"","multiple":true}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"cc5fead9-5d44-469b-8618-c5befa480a0b","status":0,"value":[]}
[debug] [BaseDriver] Waited for 87 ms so far[debug] [WD Proxy] Matched '/elements' to command name 'findElements'
[debug] [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b/elements] with body: {"strategy":"id","selector":"search_area_actions_filters","context":"","multiple":true}[debug] [WD Proxy] Got response with status 200: {"sessionId":"cc5fead9-5d44-469b-8618-c5befa480a0b","status":0,"value":[]}
[debug] [BaseDriver] Waited for 1364 ms so far[debug] [WD Proxy] Matched '/elements' to command name 'findElements'
[debug] [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b/elements] with body: {"strategy":"id","selector":"search_area_actions_filters","context":"","multiple":true}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"cc5fead9-5d44-469b-8618-c5befa480a0b","status":0,"value":[]}
[debug] [BaseDriver] Waited for 1894 ms so far[debug] [WD Proxy] Matched '/elements' to command name 'findElements'
[debug] [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b/elements] with body: {"strategy":"id","selector":"search_area_actions_filters","context":"","multiple":true}[debug] [WD Proxy] Got response with status 200: {"sessionId":"cc5fead9-5d44-469b-8618-c5befa480a0b","status":0,"value":[]}
[debug] [BaseDriver] Waited for 2449 ms so far[debug] [WD Proxy] Matched '/elements' to command name 'findElements'
[debug] [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b/elements] with body: {"strategy":"id","selector":"search_area_actions_filters","context":"","multiple":true}[debug] [WD Proxy] Got response with status 200: {"sessionId":"cc5fead9-5d44-469b-8618-c5befa480a0b","status":0,"value":[]}
[debug] [BaseDriver] Waited for 5488 ms so far[debug] [WD Proxy] Matched '/elements' to command name 'findElements'
[debug] [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b/elements] with body: {"strategy":"id","selector":"search_area_actions_filters","context":"","multiple":true}[debug] [WD Proxy] Got response with status 200: {"sessionId":"cc5fead9-5d44-469b-8618-c5befa480a0b","status":0,"value":[{"ELEMENT":"364fac57-3953-45f6-92d8-4c90a4743324"}]}
[debug] [W3C (b977b977)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"364fac57-3953-45f6-92d8-4c90a4743324","ELEMENT":"364fac57-3953-45f6-92d8-4c90a4743324"}]
[info] [HTTP] <-- POST /wd/hub/session/b977b977-98dd-4032-a6cb-8993e6457fb6/elements 200 7594 ms - 139
[info] [HTTP] 
[info] [HTTP] --> GET /wd/hub/session/b977b977-98dd-4032-a6cb-8993e6457fb6/element/364fac57-3953-45f6-92d8-4c90a4743324/displayed
[info] [HTTP] {}
[debug] [W3C (b977b977)] Calling AppiumDriver.elementDisplayed() with args: ["364fac57-3953-45f6-92d8-4c90a4743324","b977b977-98dd-4032-a6cb-8993e6457fb6"]
[debug] [WD Proxy] Matched '/element/364fac57-3953-45f6-92d8-4c90a4743324/attribute/displayed' to command name 'getAttribute'
[debug] [WD Proxy] Proxying [GET /element/364fac57-3953-45f6-92d8-4c90a4743324/attribute/displayed] to [GET http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b/element/364fac57-3953-45f6-92d8-4c90a4743324/attribute/displayed] with body: {}[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"cc5fead9-5d44-469b-8618-c5befa480a0b\",\"status\":0,\"value\":\"true\"}"
[debug] [W3C (b977b977)] Responding to client with driver.elementDisplayed() result: true
[info] [HTTP] <-- GET /wd/hub/session/b977b977-98dd-4032-a6cb-8993e6457fb6/element/364fac57-3953-45f6-92d8-4c90a4743324/displayed 200 1558 ms - 14
[info] [HTTP] 
[info] [HTTP] --> POST /wd/hub/session/b977b977-98dd-4032-a6cb-8993e6457fb6/element/364fac57-3953-45f6-92d8-4c90a4743324/click
[info] [HTTP] {}
[debug] [W3C (b977b977)] Calling AppiumDriver.click() with args: ["364fac57-3953-45f6-92d8-4c90a4743324","b977b977-98dd-4032-a6cb-8993e6457fb6"]
[debug] [WD Proxy] Matched '/element/364fac57-3953-45f6-92d8-4c90a4743324/click' to command name 'click'
[debug] [WD Proxy] Proxying [POST /element/364fac57-3953-45f6-92d8-4c90a4743324/click] to [POST http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b/element/364fac57-3953-45f6-92d8-4c90a4743324/click] with body: {"element":"364fac57-3953-45f6-92d8-4c90a4743324"}[debug] [WD Proxy] Got response with status 200: {"sessionId":"cc5fead9-5d44-469b-8618-c5befa480a0b","status":0,"value":true}
[debug] [W3C (b977b977)] Responding to client with driver.click() result: true
[info] [HTTP] <-- POST /wd/hub/session/b977b977-98dd-4032-a6cb-8993e6457fb6/element/364fac57-3953-45f6-92d8-4c90a4743324/click 200 196 ms - 14
[info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/b977b977-98dd-4032-a6cb-8993e6457fb6/touch/perform
[info] [HTTP] {"actions":[{"action":"press","options":{"x":75,"y":1500}},{"action":"wait","options":{"ms":500}},{"action":"moveTo","options":{"x":0,"y":0}},{"action":"release"}]}
[debug] [W3C (b977b977)] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":75,"y":1500}},{"action":"wait","options":{"ms":500}},{"action":"moveTo","options":{"x":0,"y":0}},{"action":"release"}],"b977b977-98dd-4032-a6cb-8993e6457fb6"]
[debug] [WD Proxy] Matched '/touch/perform' to command name 'performTouch'
[debug] [WD Proxy] Proxying [POST /touch/perform] to [POST http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b/touch/perform] with body: {"startX":75,"startY":1500,"endX":0,"endY":0,"steps":14}[debug] [WD Proxy] Got response with status 200: {"sessionId":"cc5fead9-5d44-469b-8618-c5befa480a0b","status":0,"value":true}
[debug] [W3C (b977b977)] Responding to client with driver.performTouch() result: true
[info] [HTTP] <-- POST /wd/hub/session/b977b977-98dd-4032-a6cb-8993e6457fb6/touch/perform 200 1050 ms - 14
[info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/b977b977-98dd-4032-a6cb-8993e6457fb6/touch/perform
[info] [HTTP] {"actions":[{"action":"press","options":{"x":75,"y":500}},{"action":"wait","options":{"ms":500}},{"action":"moveTo","options":{"x":0,"y":0}},{"action":"release"}]}
[debug] [W3C (b977b977)] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":75,"y":500}},{"action":"wait","options":{"ms":500}},{"action":"moveTo","options":{"x":0,"y":0}},{"action":"release"}],"b977b977-98dd-4032-a6cb-8993e6457fb6"]
[debug] [WD Proxy] Matched '/touch/perform' to command name 'performTouch'
[debug] [WD Proxy] Proxying [POST /touch/perform] to [POST http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b/touch/perform] with body: {"startX":75,"startY":500,"endX":0,"endY":0,"steps":14}[debug] [WD Proxy] Got response with status 200: {"sessionId":"cc5fead9-5d44-469b-8618-c5befa480a0b","status":0,"value":true}
[debug] [W3C (b977b977)] Responding to client with driver.performTouch() result: true
[info] [HTTP] <-- POST /wd/hub/session/b977b977-98dd-4032-a6cb-8993e6457fb6/touch/perform 200 1025 ms - 14
[info] [HTTP] [warn] [BaseDriver] Shutting down because we waited 60 seconds for a command
[debug] [UiAutomator2] Deleting UiAutomator2 session
[warn] [Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[info] [Appium] Removing session b977b977-98dd-4032-a6cb-8993e6457fb6 from our master session list
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[debug] [WD Proxy] Matched '/' to command name 'deleteSession'
[debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://localhost:8200/wd/hub/session/cc5fead9-5d44-469b-8618-c5befa480a0b] with no body[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"cc5fead9-5d44-469b-8618-c5befa480a0b\",\"status\":0,\"value\":\"Session deleted\"}"
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop ae.propertyfinder.propertyfinder.debug'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8200
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp\:8200'
[info] [UiAutomator2] Restoring hidden api policy to the device default configuration
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell settings delete global hidden_api_policy_pre_p_apps'[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell settings delete global hidden_api_policy_p_apps'
[debug] [ADB] Running '/Users/prashanth/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell settings delete global hidden_api_policy'[debug] [Instrumentation] .[debug] [Instrumentation] Time: 130.488
[debug] [Instrumentation]
[debug] [Instrumentation] OK (1 test)
[debug] [Instrumentation] The process has exited with code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment