Skip to content

Instantly share code, notes, and snippets.

@tiagoshibata
Created June 18, 2016 22:59
Show Gist options
  • Save tiagoshibata/3bda9d9aa09109f0e59fd2f34ada0772 to your computer and use it in GitHub Desktop.
Save tiagoshibata/3bda9d9aa09109f0e59fd2f34ada0772 to your computer and use it in GitHub Desktop.
[Appium] Welcome to Appium v1.5.3 (REV c92d23d4bef00642c623a5004942801f993c8b3f)
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"Android","deviceName":"Android","appPackage":"<PACKAGE_NAME>","appActivity":"<PACKAGE_ACTIVITY>"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"platformName":"Android",...
[Appium] Creating new AndroidDriver session
[Appium] Capabilities:
[Appium] platformName: 'Android'
[Appium] deviceName: 'Android'
[Appium] appPackage: '<PACKAGE_NAME>'
[Appium] appActivity: '<PACKAGE_ACTIVITY>'
[BaseDriver] Session created with session id: 453af375-0e43-4082-9766-7f0d47bd1bfb
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_25
[ADB] Checking whether adb is present
[ADB] The ANDROID_HOME environment variable is not set to the Android SDK root directory path. ANDROID_HOME is required for compatibility with SDK 23+. Checking along PATH for adb.
[ADB] Using adb from /home/tiago/Android/Sdk/platform-tools/adb
[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: T099706ZXD
[ADB] Checking whether adb is present
[ADB] The ANDROID_HOME environment variable is not set to the Android SDK root directory path. ANDROID_HOME is required for compatibility with SDK 23+. Checking along PATH for adb.
[ADB] Using adb from /home/tiago/Android/Sdk/platform-tools/adb
[debug] [ADB] Setting device id to T099706ZXD
[AndroidDriver] App file was not listed, instead we're going to run <PACKAGE_NAME> directly on the device
[debug] [AndroidDriver] Checking whether package is present on the device
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","pm","list","packages","<PACKAGE_NAME>"]
[AndroidDriver] Starting Android session
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","install","/home/tiago/code/appium/node_modules/io.appium.settings/bin/settings_apk-debug.apk"]
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","install","/home/tiago/code/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","getprop","ro.build.version.release"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","dumpsys","window"]
[AndroidDriver] Unlocking screen
[debug] [AndroidDriver] Screen is locked, trying to unlock
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","am","force-stop","io.appium.unlock"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","getprop","ro.build.version.sdk"]
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","am","start","-W","-n","io.appium.unlock/.Unlock","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","am","start","-W","-n","io.appium.unlock/.Unlock","-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 /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","am","start","-W","-n","io.appium.unlock/.Unlock","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","dumpsys","window"]
[debug] [AndroidDriver] Screen unlocked successfully
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","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 /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","push","/home/tiago/code/appium/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"]
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","ps","uiautomator"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: -P, 5037, -s, T099706ZXD, shell, uiautomator, runtest, AppiumBootstrap.jar, -c, io.appium.android.bootstrap.Bootstrap, -e, pkg, <PACKAGE_NAME>, -e, disableAndroidWatchers, false, -e, acceptSslCerts, false
[debug] [UiAutomator] Moving to state 'online'
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","am","start","-W","-n","<PACKAGE_NAME>/<PACKAGE_ACTIVITY>","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[Appium] New AndroidDriver session created successfully, session 453af375-0e43-4082-9766-7f0d47bd1bfb added to master session list
[MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webSto...
[HTTP] <-- POST /wd/hub/session 200 79370 ms - 612
[HTTP] --> POST /wd/hub/session/453af375-0e43-4082-9766-7f0d47bd1bfb/touch/perform {"actions":[{"options":{"y":100,"x":100},"action":"press"},{"options":{"y":-1,"x":-1},"action":"moveTo"},{"options":{},"action":"release"}],"sessionId":"453af375-0e43-4082-9766-7f0d47bd1bfb"}
[MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"options":{"y":100,"x":1...
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:touchDown","params":{"x":100,"y":100}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchDown","params":{"x":100,"y":100}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: touchDown
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][720,1184]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Performing TouchDown using element? false x: 100, y: 100
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:touchMove","params":{"x":99,"y":99}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchMove","params":{"x":99,"y":99}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: touchMove
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][720,1184]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Performing TouchMove using element? false x: 99, y: 99
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:touchUp","params":{"x":-1,"y":-1}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchUp","params":{"x":-1,"y":-1}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: touchUp
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][720,1184]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":29,"value":"Coordinate [x=-1.0, y=-1.0] is outside of element rect: [0,0][720,1184]"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[HTTP] <-- POST /wd/hub/session/453af375-0e43-4082-9766-7f0d47bd1bfb/touch/perform 500 154 ms - 153
[HTTP] --> DELETE /wd/hub/session/453af375-0e43-4082-9766-7f0d47bd1bfb {}
[MJSONWP] Calling AppiumDriver.deleteSession() with args: ["453af375-0e43-4082-9766-7...
[debug] [AndroidDriver] Shutting down Android driver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment