Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aman-daharwal/b34cb9695fe22bed278e1c2bd70e5a3e to your computer and use it in GitHub Desktop.
Save aman-daharwal/b34cb9695fe22bed278e1c2bd70e5a3e to your computer and use it in GitHub Desktop.
Appium Server Logs
[Appium] Welcome to Appium v1.8.1
[Appium] Non-default server args:
[Appium] port: 4724
[Appium] Appium REST http interface listener started on 0.0.0.0:4724
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"app":"C:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":"6000","deviceName":"Nexus 9","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280"},"capabilities":{"desiredCapabilities":{"app":"C:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":"6000","deviceName":"Nexus 9","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280"},"firstMatch":[{"platformName":"android"}]}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"C:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":"6000","deviceName":"Nexus 9","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280"},null,{"desiredCapabilities":{"app":"C:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":"6000","deviceName":"Nexus 9","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280"},"firstMatch":[{"platformName":"android"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1530699627048 (15:50:27 GMT+0530 (India Standard Time))
[Appium] Could not parse W3C capabilities: 'deviceName' can't be blank. Falling back to JSONWP protocol.
[Appium] The following capabilities were provided in the JSONWP desired capabilities that are missing in W3C capabilities: ["app","appActivity","appPackage","autoWebviewTimeout","deviceName","newCommandTimeOut","platformName","platformVersion","udid"]. Falling back to JSONWP protocol.
[Appium] Consider setting 'automationName' capability to 'uiautomator2' on Android >= 6, since UIAutomator framework is not maintained anymore by the OS vendor.
[Appium] Creating new AndroidDriver (v2.7.0) session
[Appium] Capabilities:
[Appium] app: C:\ebayAutomation\src\test\resources\ebay-apk\ebay.apk
[Appium] appActivity: com.ebay.mobile.activities.MainActivity
[Appium] appPackage: com.ebay.mobile
[Appium] autoWebviewTimeout: 6000
[Appium] deviceName: Nexus 9
[Appium] newCommandTimeOut: 40
[Appium] platformName: Android
[Appium] platformVersion: 7.1.1
[Appium] udid: HT4AWJT03280
[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {"app":"C:\\ebayAutomation\...
[BaseDriver] Capability 'autoWebviewTimeout' changed from string ('6000') to integer (6000). This may cause unexpected behavior
[BaseDriver] The following capabilities were provided, but are not recognized by appium: newCommandTimeOut.
[BaseDriver] Session created with session id: 9b707d07-edd7-4650-b720-746c49e8592a
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 10.0.1
[ADB] Checking whether adb is present
[ADB] Found 5 'build-tools' folders under 'C:\Program Files (x86)\Android\android-sdk' (newest first):
[ADB] C:/Program Files (x86)/Android/android-sdk/build-tools/25.0.3
[ADB] C:/Program Files (x86)/Android/android-sdk/build-tools/23.0.3
[ADB] C:/Program Files (x86)/Android/android-sdk/build-tools/22.0.1
[ADB] C:/Program Files (x86)/Android/android-sdk/build-tools/21.1.2
[ADB] C:/Program Files (x86)/Android/android-sdk/build-tools/19.1.0
[ADB] Using adb.exe from C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[AndroidDriver] Using device: HT4AWJT03280
[debug] [ADB] Setting device id to HT4AWJT03280
[BaseDriver] Using local app 'C:\ebayAutomation\src\test\resources\ebay-apk\ebay.apk'
[debug] [AndroidDriver] Checking whether app is actually present
[AndroidDriver] Starting Android session
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 wait-for-device'
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell echo ping'
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell pm list packages io.appium.settings'
[debug] [ADB] App is installed
[debug] [ADB] Getting package info for 'io.appium.settings'
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell dumpsys package io.appium.settings'
[ADB] Checking whether aapt is present
[ADB] Using aapt.exe from C:\Program Files (x86)\Android\android-sdk\build-tools\25.0.3\aapt.exe
[debug] [ADB] The installed 'io.appium.settings' package does not require upgrade ('2.3.0' >= '2.3.0')
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell ps'
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell getprop ro.build.version.sdk'
[debug] [ADB] Current device property 'ro.build.version.sdk': 25
[debug] [ADB] Device API level: 25
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 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: 25
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell appops set io.appium.settings android\:mock_location allow'
[AndroidDriver] setDeviceLanguageCountry requires language or country.
[AndroidDriver] Got language: 'null' and country: 'null'
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Getting install status for io.appium.unlock
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell pm list packages io.appium.unlock'
[debug] [ADB] App is installed
[debug] [ADB] Getting package info for 'io.appium.unlock'
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell dumpsys package io.appium.unlock'
[debug] [ADB] The installed 'io.appium.unlock' package does not require upgrade ('2.0.0' >= '2.0.0')
[ADB] Getting device platform version
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 7.1.1
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell wm size'
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell getprop ro.product.model'
[debug] [ADB] Current device property 'ro.product.model': Nexus 9
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell getprop ro.product.manufacturer'
[debug] [ADB] Current device property 'ro.product.manufacturer': htc
[debug] [ADB] Getting install status for com.ebay.mobile
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell pm list packages com.ebay.mobile'
[debug] [ADB] App is installed
[debug] [ADB] Getting install status for com.ebay.mobile
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell pm list packages com.ebay.mobile'
[debug] [ADB] App is installed
[debug] [ADB] Getting package info for 'com.ebay.mobile'
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell dumpsys package com.ebay.mobile'
[debug] [ADB] The installed 'com.ebay.mobile' package does not require upgrade ('5.22.0' >= '5.22.0')
[AndroidDriver] Performing fast reset on 'com.ebay.mobile'
[debug] [ADB] Getting install status for com.ebay.mobile
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell pm list packages com.ebay.mobile'
[debug] [ADB] App is installed
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell am force-stop com.ebay.mobile'
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell pm clear com.ebay.mobile'
[debug] [AndroidDriver] Performed fast reset on the installed 'com.ebay.mobile' application (stop and clear)
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell rm -rf /data/local/tmp/strings.json'
[debug] [AndroidDriver] Extracting strings from apk
[debug] [AndroidDriver] C:\ebayAutomation\src\test\resources\ebay-apk\ebay.apk
[debug] [AndroidDriver] null
[debug] [AndroidDriver] C:\Users\User\AppData\Local\Temp\com.ebay.mobile
[debug] [ADB] Extracting strings for language: default
[ADB] Successfully extracted 4047 strings from 'C:\ebayAutomation\src\test\resources\ebay-apk\ebay.apk' resources for '(default)' configuration
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 push C\:\\Users\\User\\AppData\\Local\\Temp\\com.ebay.mobile\\strings.json /data/local/tmp'
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 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:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 push C\:\\Users\\User\\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] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell ps'
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","HT4AWJT03280","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.ebay.mobile","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false]
[debug] [UiAutomator] Moving to state 'online'
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell dumpsys window'
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [ADB] Device API level: 25
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell am start -W -n com.ebay.mobile/com.ebay.mobile.activities.MainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[Appium] New AndroidDriver session created successfully, session 9b707d07-edd7-4650-b720-746c49e8592a added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1530699641281 (15:50:41 GMT+0530 (India Standard Time))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"app":"C:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":6000,"deviceName":"Nexus 9","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280"},"app":"C:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":6000,"deviceName":"HT4AWJT03280","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280","deviceUDID":"HT4AWJT03280","deviceScreenSize":"1536x2048","deviceModel":"Nexus 9","deviceManufacturer":"htc"}
[HTTP] <-- POST /wd/hub/session 200 14255 ms - 1000
[HTTP]
[HTTP] --> POST /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a/timeouts
[HTTP] {"type":"implicit","ms":100000}
[debug] [W3C] Bad parameters: BadParametersError: Parameters were incorrect. We wanted "W3C protocol expects any of script, pageLoad or implicit to be set" and you sent {"type":"implicit","ms":100000}
[HTTP] <-- POST /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a/timeouts 400 52 ms - 5278
[HTTP]
[HTTP] --> POST /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a/element
[HTTP] {"using":"id","value":"com.ebay.mobile:id/search_box"}
[debug] [W3C] Calling AppiumDriver.findElement() with args: ["id","com.ebay.mobile:id/search_box","9b707d07-edd7-4650-b720-746c49e8592a"]
[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":"com.ebay.mobile:id/search_box","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.ebay.mobile:id/search_box","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.ebay.mobile:id/search_box' using 'ID' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.ebay.mobile:id/search_box]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"1"}
[HTTP] <-- POST /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a/element 200 170 ms - 87
[HTTP]
[HTTP] --> GET /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["9b707d07-edd7-4650-b720-746c49e8592a"]
[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:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":6000,"deviceName":"Nexus 9","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280"},"app":"C:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":6000,"deviceName":"HT4AWJT03280","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280","deviceUDID":"HT4AWJT03280","deviceScreenSize":"1536x2048","deviceModel":"Nexus 9","deviceManufacturer":"htc"}
[HTTP] <-- GET /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a 200 8 ms - 1000
[HTTP]
[HTTP] --> GET /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["9b707d07-edd7-4650-b720-746c49e8592a"]
[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:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":6000,"deviceName":"Nexus 9","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280"},"app":"C:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":6000,"deviceName":"HT4AWJT03280","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280","deviceUDID":"HT4AWJT03280","deviceScreenSize":"1536x2048","deviceModel":"Nexus 9","deviceManufacturer":"htc"}
[HTTP] <-- GET /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a 200 6 ms - 1000
[HTTP]
[HTTP] --> GET /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["9b707d07-edd7-4650-b720-746c49e8592a"]
[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:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":6000,"deviceName":"Nexus 9","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280"},"app":"C:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":6000,"deviceName":"HT4AWJT03280","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280","deviceUDID":"HT4AWJT03280","deviceScreenSize":"1536x2048","deviceModel":"Nexus 9","deviceManufacturer":"htc"}
[HTTP] <-- GET /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a 200 5 ms - 1000
[HTTP]
[HTTP] --> GET /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["9b707d07-edd7-4650-b720-746c49e8592a"]
[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:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":6000,"deviceName":"Nexus 9","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280"},"app":"C:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":6000,"deviceName":"HT4AWJT03280","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280","deviceUDID":"HT4AWJT03280","deviceScreenSize":"1536x2048","deviceModel":"Nexus 9","deviceManufacturer":"htc"}
[HTTP] <-- GET /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a 200 7 ms - 1000
[HTTP]
[HTTP] --> POST /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a/element/1/click
[HTTP] {"id":"1"}
[debug] [W3C] Calling AppiumDriver.click() with args: ["1","9b707d07-edd7-4650-b720-746c49e8592a"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a/element/1/click 200 167 ms - 76
[HTTP]
[HTTP] --> POST /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a/element
[HTTP] {"using":"id","value":"com.ebay.mobile:id/search_src_text"}
[debug] [W3C] Calling AppiumDriver.findElement() with args: ["id","com.ebay.mobile:id/search_src_text","9b707d07-edd7-4650-b720-746c49e8592a"]
[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":"com.ebay.mobile:id/search_src_text","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.ebay.mobile:id/search_src_text","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.ebay.mobile:id/search_src_text' using 'ID' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.ebay.mobile:id/search_src_text]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"2"}
[HTTP] <-- POST /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a/element 200 914 ms - 87
[HTTP]
[HTTP] --> GET /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["9b707d07-edd7-4650-b720-746c49e8592a"]
[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:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":6000,"deviceName":"Nexus 9","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280"},"app":"C:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":6000,"deviceName":"HT4AWJT03280","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280","deviceUDID":"HT4AWJT03280","deviceScreenSize":"1536x2048","deviceModel":"Nexus 9","deviceManufacturer":"htc"}
[HTTP] <-- GET /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a 200 13 ms - 1000
[HTTP]
[HTTP] --> GET /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["9b707d07-edd7-4650-b720-746c49e8592a"]
[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:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":6000,"deviceName":"Nexus 9","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280"},"app":"C:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":6000,"deviceName":"HT4AWJT03280","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280","deviceUDID":"HT4AWJT03280","deviceScreenSize":"1536x2048","deviceModel":"Nexus 9","deviceManufacturer":"htc"}
[HTTP] <-- GET /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a 200 10 ms - 1000
[HTTP]
[HTTP] --> GET /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["9b707d07-edd7-4650-b720-746c49e8592a"]
[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:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":6000,"deviceName":"Nexus 9","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280"},"app":"C:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":6000,"deviceName":"HT4AWJT03280","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280","deviceUDID":"HT4AWJT03280","deviceScreenSize":"1536x2048","deviceModel":"Nexus 9","deviceManufacturer":"htc"}
[HTTP] <-- GET /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a 200 6 ms - 1000
[HTTP]
[HTTP] --> GET /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["9b707d07-edd7-4650-b720-746c49e8592a"]
[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:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":6000,"deviceName":"Nexus 9","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280"},"app":"C:\\ebayAutomation\\src\\test\\resources\\ebay-apk\\ebay.apk","appActivity":"com.ebay.mobile.activities.MainActivity","appPackage":"com.ebay.mobile","autoWebviewTimeout":6000,"deviceName":"HT4AWJT03280","newCommandTimeOut":"40","platformName":"Android","platformVersion":"7.1.1","udid":"HT4AWJT03280","deviceUDID":"HT4AWJT03280","deviceScreenSize":"1536x2048","deviceModel":"Nexus 9","deviceManufacturer":"htc"}
[HTTP] <-- GET /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a 200 5 ms - 1000
[HTTP]
[HTTP] --> POST /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a/element/2/value
[HTTP] {"id":"2","value":["iPhone"]}
[debug] [W3C] Calling AppiumDriver.setValue() with args: [["iPhone"],"2","9b707d07-edd7-4650-b720-746c49e8592a"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:setText","params":{"elementId":"2","text":"iPhone","replace":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"2","text":"iPhone","replace":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: setText
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using element passed in: 2
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Attempting to clear using UiObject.clearText().
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Text remains after clearing, but it appears to be hint text.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Text not cleared. Assuming remainder is hint text.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Sending plain text to element: iPhone
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [MJSONWP] Responding to client with driver.setValue() result: true
[HTTP] <-- POST /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a/element/2/value 200 4990 ms - 76
[HTTP]
[HTTP] --> POST /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a/keys
[HTTP] {"value":[""]}
[debug] [W3C] Calling AppiumDriver.keys() with args: [[""],"9b707d07-edd7-4650-b720-746c49e8592a"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"setText","params":{"text":"","replace":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"setText","params":{"text":"","replace":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: setText
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using currently-focused element: 3
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Text not cleared. Assuming remainder is hint text.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Sending plain text to element: 
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [MJSONWP] Responding to client with driver.keys() result: null
[HTTP] <-- POST /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a/keys 200 3544 ms - 76
[HTTP]
[HTTP] --> DELETE /wd/hub/session/9b707d07-edd7-4650-b720-746c49e8592a
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.deleteSession() with args: ["9b707d07-edd7-4650-b720-746c49e8592a"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1530699652581 (15:50:52 GMT+0530 (India Standard Time))
[Appium] Removing session 9b707d07-edd7-4650-b720-746c49e8592a from our master session list
[debug] [AndroidDriver] Shutting down Android driver
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell am force-stop com.ebay.mobile'
[debug] [ADB] Pressing the HOME button
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell input keyevent 3'
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"shutdown"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [UiAutomator] Shutting down UiAutomator
[debug] [UiAutomator] Moving to state 'stopping'
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
[debug] [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: 14.976
[debug] [AndroidBootstrap] [UIAUTO STDOUT] OK (1 test)
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: -1
[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] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell ps'
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -P 5037 -s HT4AWJT03280 shell am force-stop io.appium.unlock'
[debug] [AndroidDriver] Not cleaning generated files. Add `clearSystemFiles` capability if wanted.
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1530699655059 (15:50:55 GMT+0530 (India Standard Time))
[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/9b707d07-edd7-4650-b720-746c49e8592a 200 2493 ms - 76
[HTTP]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment