Skip to content

Instantly share code, notes, and snippets.

@GrzegorzSidwa
Created November 9, 2017 10:52
Show Gist options
  • Save GrzegorzSidwa/a22b50c884490990eb11163537869473 to your computer and use it in GitHub Desktop.
Save GrzegorzSidwa/a22b50c884490990eb11163537869473 to your computer and use it in GitHub Desktop.
Logs from Android Slider execution
[Appium] Welcome to Appium v1.7.1
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"newCommandTimeout":"45000","browserName":"","platformName":"Android","deviceName":"BUC4C16C16004057","app":"/Users/grzsi/Desktop/Apps/sliders.apk","dontStopAppOnReset":true,"noReset":true}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"newCommandTimeout":"45000","browserName":"","platformName":"Android","deviceName":"BUC4C16C16004057","app":"/Users/grzsi/Desktop/Apps/sliders.apk","dontStopAppOnReset":true,"noReset":true},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1510224594458 (11:49:54 GMT+0100 (CET))
[Appium] Creating new AndroidDriver (v1.28.1) session
[Appium] Capabilities:
[Appium] newCommandTimeout: '45000'
[Appium] browserName: ''
[Appium] platformName: 'Android'
[Appium] deviceName: 'BUC4C16C16004057'
[Appium] app: '/Users/grzsi/Desktop/Apps/sliders.apk'
[Appium] dontStopAppOnReset: true
[Appium] noReset: true
[BaseDriver] Capability 'newCommandTimeout' changed from string ('45000') to integer (45000). This may cause unexpected behavior
[BaseDriver] Session created with session id: 969b8709-786a-49c9-b7c3-a7e960b1f333
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_121
[ADB] Checking whether adb is present
[ADB] Using adb from /usr/local/Cellar/android-sdk/24.4.1_1/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: BUC4C16C16004057
[ADB] Checking whether adb is present
[ADB] Using adb from /usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb
[debug] [ADB] Setting device id to BUC4C16C16004057
[BaseDriver] Using local app '/Users/grzsi/Desktop/Apps/sliders.apk'
[debug] [AndroidDriver] Checking whether app is actually present
[AndroidDriver] Starting Android session
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Uninstalling and re-installing 'io.appium.settings'
[debug] [ADB] Uninstalling io.appium.settings
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","pm","list","packages","io.appium.settings"]
[debug] [ADB] App is installed
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","am","force-stop","io.appium.settings"]
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","uninstall","io.appium.settings"]
[debug] [ADB] ADB command output: Success
[ADB] io.appium.settings was successfully uninstalled
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","pm","list","packages","io.appium.settings"]
[debug] [ADB] App is not installed
[debug] [ADB] App '/usr/local/lib/node_modules/appium/node_modules/io.appium.settings/app/build/outputs/apk/settings_apk-debug.apk' not installed. Installing
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","install","/usr/local/lib/node_modules/appium/node_modules/io.appium.settings/app/build/outputs/apk/settings_apk-debug.apk"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","getprop","ro.build.version.sdk"]
[debug] [ADB] Current device property 'ro.build.version.sdk': 23
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","dumpsys","package","io.appium.settings"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","pm","dump","io.appium.settings"]
[debug] [ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.READ_PHONE_STATE,;,pm,grant,io.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,io.appium.settings,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,;,pm,grant,io.appium.settings,android.permission.SET_ANIMATION_SCALE,;
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","pm","grant","io.appium.settings","android.permission.READ_PHONE_STATE",";","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_FINE_LOCATION",";","pm","grant","io.appium.settings","android.permission.ACCESS_COARSE_LOCATION",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";","pm","grant","io.appium.settings","android.permission.SET_ANIMATION_SCALE",";"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","ps"]
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","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 '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","appops","set","io.appium.settings","android:mock_location","allow"]
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","install","/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","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 '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","wm","size"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","getprop","ro.product.model"]
[debug] [ADB] Current device property 'ro.product.model': HUAWEI VNS-L21
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","getprop","ro.product.manufacturer"]
[debug] [ADB] Current device property 'ro.product.manufacturer': HUAWEI
[debug] [AndroidDriver] Parsing package and activity from app manifest
[ADB] Checking whether aapt is present
[ADB] Using aapt from /usr/local/Cellar/android-sdk/24.4.1_1/build-tools/26.0.0-preview/aapt
[ADB] Extracting package and launch activity from manifest
[debug] [ADB] badging package: com.example.mirmi.slider
[debug] [ADB] badging act: com.example.mirmi.slider.MainActivity
[debug] [AndroidDriver] Parsed package and activity are: com.example.mirmi.slider/com.example.mirmi.slider.MainActivity
[AndroidDriver] Remote apk path is /data/local/tmp/e2227eaf325f371a1f287b0d28374356.apk
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","ls","/data/local/tmp/e2227eaf325f371a1f287b0d28374356.apk"]
[debug] [AndroidDriver] Checking if app is installed
[debug] [ADB] Getting install status for com.example.mirmi.slider
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","pm","list","packages","com.example.mirmi.slider"]
[debug] [ADB] App is installed
[debug] [AndroidDriver] Extracting strings from apk /Users/grzsi/Desktop/Apps/sliders.apk null /var/folders/7v/dg1blv7j44s640_0rztf24100000gn/T/com.example.mirmi.slider
[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 '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","getprop","persist.sys.locale"]
[debug] [ADB] Current device property 'persist.sys.locale': pl-PL
[debug] [ADB] Reading strings from converted strings.json
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","push","/var/folders/7v/dg1blv7j44s640_0rztf24100000gn/T/com.example.mirmi.slider/strings.json","/data/local/tmp"]
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","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 '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","push","/usr/local/lib/node_modules/appium/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"]
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","ps"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","BUC4C16C16004057","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.example.mirmi.slider","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false]
[debug] [UiAutomator] Moving to state 'online'
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Loading json...
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Getting connected devices...
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","am","start","-W","-n","com.example.mirmi.slider/com.example.mirmi.slider.MainActivity","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[debug] [ADB] Waiting up to 20000ms for activity matching pkg: 'com.example.mirmi.slider' and activity: 'com.example.mirmi.slider.MainActivity' to be focused
[debug] [ADB] Possible activities, to be checked: 'com.example.mirmi.slider.MainActivity'
[debug] [ADB] Getting focused package and activity
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","dumpsys","window","windows"]
[debug] [ADB] Found package: 'com.example.mirmi.slider' and fully qualified activity name : 'com.example.mirmi.slider.MainActivity'
[Appium] New AndroidDriver session created successfully, session 969b8709-786a-49c9-b7c3-a7e960b1f333 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1510224614877 (11:50:14 GMT+0100 (CET))
[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":{"newCommandTimeout":45000,"browserName":"","platformName":"Android","deviceName":"BUC4C16C16004057","app":"/Users/grzsi/Desktop/Apps/sliders.apk","dontStopAppOnReset":true,"noReset":true},"newCommandTimeout":45000,"browserName":"","platformName":"Android","deviceName":"BUC4C16C16004057","app":"/Users/grzsi/Desktop/Apps/sliders.apk","dontStopAppOnReset":true,"noReset":true,"deviceUDID":"BUC4C16C16004057","platformVersion":"6.0","deviceScreenSize":"1080x1920","deviceModel":"HUAWEI VNS-L21","deviceManufacturer":"HUAWEI","appPackage":"com.example.mirmi.slider","appWaitPackage":"com.example.mirmi.slider","appActivity":"com.example.mirmi.slider.MainActivity","appWaitActivity":"com.example.mirmi.slider.MainActivity"}
[HTTP] <-- POST /wd/hub/session 200 20424 ms - 997
[HTTP] --> GET /wd/hub/session/969b8709-786a-49c9-b7c3-a7e960b1f333/source {}
[debug] [MJSONWP] Calling AppiumDriver.getPageSource() with args: ["969b8709-786a-49c9-b7c3-a7e960b1f333"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"source","params":{}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"source","params":{}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: source
[debug] [AndroidBootstrap] [UIAUTO STDOUT] [APPIUM-UIAUTO] [debug] Returning result: {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?><hierarchy rotation=\"0\"><android.widget.FrameLayout index=\"0\" text=\"\" class=\"android.widget.FrameLayout\" package=\"com.example.mirmi.slider\" content-desc=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" scrollable=\"false\" long-clickable=\"false\" password=\"false\" selected=\"false\" bounds=\"[0,0][1080,1812]\" resource-id=\"\" instance=\"0\"><android.widget.LinearLayout index=\"0\" text=\"\" class=\"android.widget.LinearLayout\" package=\"com.example.mirmi.slider\" content-desc=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" scrollable=\"false\" long-clickable=\"false\" password=\"false\" selected=\"false\" bounds=\"[0,0][1080,1812]\" resource-id=\"\" instance=\"0\"><android.widget.FrameLayout index=\"0\" text=\"\" class=\"android.widget.FrameLayout\" package=\"com.example.mirmi.slider\" content-desc=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" scrollable=\"false\" long-clickable=\"false\" password=\"false\" selected=\"false\" bounds=\"[0,72][1080,1812]\" resource-id=\"\" instance=\"1\"><android.view.ViewGroup index=\"0\" text=\"\" class=\"android.view.ViewGroup\" package=\"com.example.mirmi.slider\" content-desc=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" scrollable=\"false\" long-clickable=\"false\" password=\"false\" selected=\"false\" bounds=\"[0,72][1080,1812]\" resource-id=\"com.example.mirmi.slider:id\/decor_content_parent\" instance=\"0\"><android.widget.FrameLayout index=\"0\" text=\"\" class=\"android.widget.FrameLayout\" package=\"com.example.mirmi.slider\" content-desc=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" scrollable=\"false\" long-clickable=\"false\" password=\"false\" selected=\"false\" bounds=\"[0,72][1080,240]\" resource-id=\"com.example.mirmi.slider:id\/action_bar_container\" instance=\"2\"><android.view.ViewGroup index=\"0\" text=\"\" class=\"android.view.ViewGroup\" package=\"com.example.mirmi.slider\" content-desc=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" scrollable=\"false\" long-clickable=\"false\" password=\"false\" selected=\"false\" bounds=\"[0,72][1080,240]\" resource-id=\"com.example.mirmi.slider:id\/action_bar\" instance=\"1\"><android.widget.TextView index=\"0\" text=\"Slider\" class=\"android.widget.TextView\" package=\"com.example.mirmi.slider\" content-desc=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" scrollable=\"false\" long-clickable=\"false\" password=\"false\" selected=\"false\" bounds=\"[48,115][201,196]\" resource-id=\"\" instance=\"0\"\/><\/android.view.ViewGroup><\/android.widget.FrameLayout><android.widget.FrameLayout index=\"1\" text=\"\" class=\"android.widget.FrameLayout\" package=\"com.example.mirmi.slider\" content-desc=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" scrollable=\"false\" long-clickable=\"false\" password=\"false\" selected=\"false\" bounds=\"[0,240][1080,1812]\" resource-id=\"android:id\/content\" instance=\"3\"><android.widget.LinearLayout index=\"0\" text=\"\" class=\"android.widget.LinearLayout\" package=\"com.example.mirmi.slider\" content-desc=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" scrollable=\"false\" long-clickable=\"false\" password=\"false\" selected=\"false\" bounds=\"[0,240][1080,1812]\" resource-id=\"\" instance=\"1\"><android.widget.SeekBar index=\"0\" text=\"\" class=\"android.widget.SeekBar\" package=\"com.example.mirmi.slider\" content-desc=\"\" checkable=\"false\" checked=\"f
[debug] [AndroidBootstrap] [UIAUTO STDOUT] alse\" clickable=\"false\" enabled=\"true\" focusable=\"true\" focused=\"true\" scrollable=\"false\" long-clickable=\"false\" password=\"false\" selected=\"false\" bounds=\"[0,240][1080,294]\" resource-id=\"com.example.mirmi.slider:id\/seekBar\" instance=\"0\"\/><android.widget.TextView index=\"1\" text=\"Value: 8\" class=\"android.widget.TextView\" package=\"com.example.mirmi.slider\" content-desc=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" scrollable=\"false\" long-clickable=\"false\" password=\"false\" selected=\"false\" bounds=\"[0,294][148,351]\" resource-id=\"com.example.mirmi.slider:id\/textView\" instance=\"1\"\/><android.widget.SeekBar index=\"2\" text=\"\" class=\"android.widget.SeekBar\" package=\"com.example.mirmi.slider\" content-desc=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"true\" focused=\"false\" scrollable=\"false\" long-clickable=\"false\" password=\"false\" selected=\"false\" bounds=\"[0,351][1080,405]\" resource-id=\"com.example.mirmi.slider:id\/seekBar2\" instance=\"1\"\/><android.widget.TextView index=\"3\" text=\"Value: 0\" class=\"android.widget.TextView\" package=\"com.example.mirmi.slider\" content-desc=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" scrollable=\"false\" long-clickable=\"false\" password=\"false\" selected=\"false\" bounds=\"[0,405][148,462]\" resource-id=\"com.example.mirmi.slider:id\/textView2\" instance=\"2\"\/><\/android.widget.LinearLayout><\/android.widget.FrameLayout><\/android.view.ViewGroup><\/android.widget.FrameLayout><\/android.widget.LinearLayout><android.view.View index=\"1\" text=\"\" class=\"android.view.View\" package=\"com.example.mirmi.slider\" content-desc=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" scrollable=\"false\" long-clickable=\"false\" password=\"false\" selected=\"false\" bounds=\"[0,0][1080,72]\" resource-id=\"android:id\/statusBarBackground\" instance=\"0\"\/><android.view.View index=\"2\" text=\"\" class=\"android.view.View\" package=\"com.example.mirmi.slider\" content-desc=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" scrollable=\"false\" long-clickable=\"false\" password=\"false\" selected=\"false\" bounds=\"[0,1812][1080,1920]\" resource-id=\"android:id\/navigationBarBackground\" instance=\"1\"\/><\/android.widget.FrameLayout><\/hierarchy>"}[/APPIUM-UIAUTO]
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Stream still not complete, waiting
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.getPageSource() result: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><hierarchy rotation=\"0\"><android.widget.FrameLayout index=\"0\" text=\"\" class=\"android.widget.FrameLayout\" package=\"com.example.mirmi.slider\" content-desc=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" scrollable=\"false\" long-clickable=\"false\" password=\"false\" selected=\"false\" bounds=\"[0,0][1080,1812]\" resource-id=\"\" instance=\"0\"><android.widget.LinearLayout index=\"0\" text=\"\" class=\"android.widget.LinearLayout\" package=\"com.example.mirmi.slider\" content-desc=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" scrollable=\"false\" long-clickable=\"false\" password=\"false\" selected=\"false\" bounds=\"[0,0][1080,1812]\" resource-id=\"\" instance=\"0\"><android.widget.FrameLayout index=\"0\" text=\"\" class=\"android.widget.FrameLayout\" package=\"com.example.mirmi.slider\" content-desc=\"\" checkable=...
[HTTP] <-- GET /wd/hub/session/969b8709-786a-49c9-b7c3-a7e960b1f333/source 200 143 ms - 6679
[HTTP] --> POST /wd/hub/session/969b8709-786a-49c9-b7c3-a7e960b1f333/element {"using":"id","value":"com.example.mirmi.slider:id/seekBar"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.example.mirmi.slider:id/seekBar","969b8709-786a-49c9-b7c3-a7e960b1f333"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.example.mirmi.slider:id/seekBar","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.example.mirmi.slider:id/seekBar","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.example.mirmi.slider:id/seekBar' using 'ID' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.example.mirmi.slider:id/seekBar]
[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/969b8709-786a-49c9-b7c3-a7e960b1f333/element 200 26 ms - 87
[HTTP] --> POST /wd/hub/session/969b8709-786a-49c9-b7c3-a7e960b1f333/element/1/value {"value":["0.7"]}
[debug] [MJSONWP] Calling AppiumDriver.setValue() with args: [["0.7"],"1","969b8709-786a-49c9-b7c3-a7e960b1f333"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:setText","params":{"elementId":"1","text":"0.7","replace":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"1","text":"0.7","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: 1
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Attempting to clear using UiObject.clearText().
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Sending plain text to element: 0.7
[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.setValue() result: true
[HTTP] <-- POST /wd/hub/session/969b8709-786a-49c9-b7c3-a7e960b1f333/element/1/value 200 3991 ms - 76
[HTTP] --> POST /wd/hub/session/969b8709-786a-49c9-b7c3-a7e960b1f333/element/1/value {"value":["0,2"]}
[debug] [MJSONWP] Calling AppiumDriver.setValue() with args: [["0,2"],"1","969b8709-786a-49c9-b7c3-a7e960b1f333"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:setText","params":{"elementId":"1","text":"0,2","replace":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"1","text":"0,2","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: 1
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Attempting to clear using UiObject.clearText().
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Sending plain text to element: 0,2
[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.setValue() result: true
[HTTP] <-- POST /wd/hub/session/969b8709-786a-49c9-b7c3-a7e960b1f333/element/1/value 200 4838 ms - 76
[HTTP] --> POST /wd/hub/session/969b8709-786a-49c9-b7c3-a7e960b1f333/element/1/value {"value":["7"]}
[debug] [MJSONWP] Calling AppiumDriver.setValue() with args: [["7"],"1","969b8709-786a-49c9-b7c3-a7e960b1f333"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:setText","params":{"elementId":"1","text":"7","replace":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"1","text":"7","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: 1
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Attempting to clear using UiObject.clearText().
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Sending plain text to element: 7
[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.setValue() result: true
[HTTP] <-- POST /wd/hub/session/969b8709-786a-49c9-b7c3-a7e960b1f333/element/1/value 200 5685 ms - 76
[Appium] Received SIGINT - shutting down
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [AndroidDriver] Shutting down Android driver
[Appium] Closing session, cause was 'UiAUtomator shut down unexpectedly'
[Appium] Removing session 969b8709-786a-49c9-b7c3-a7e960b1f333 from our master session list
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","am","force-stop","com.example.mirmi.slider"]
[debug] [ADB] Pressing the HOME button
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","input","keyevent",3]
[AndroidBootstrap] Cannot shut down Android bootstrap; it has already shut down
[debug] [Logcat] Stopping logcat capture
[debug] [Logcat] Logcat already stopped
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/adb' with args: ["-P",5037,"-s","BUC4C16C16004057","shell","am","force-stop","io.appium.unlock"]
[debug] [AndroidDriver] Not cleaning generated files. Add `clearSystemFiles` capability if wanted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment