Request Examples for AppiumDriver Locator Strategies

Hi Team,

I have recently started working on Appium for Android and IOS native apps automation using Java as language.

I need any existing repository / links for examples which shows samples for Native object locator strategies using AppiumDriver only.

I am using all latest components from Appium to client libraries.

I sincerely appreciate your help in this regard.

Regards,
Kiran

Hi Team,

On my research on Android Native App locate strategy , I have implemented below statements to work on. I am getting below error , could you please assist me in this regard

public static AppiumDriver ApUMDriver = null;
List textfields = ApUMDriver.findElementsByClassName(“android.widget.TextView”);
System.out.println(textfields.get(1).getText());
System.out.println(textfields.get(2).getText());

error log as follows -

e[36minfoe[39m: Welcome to Appium v1.3.4 (REV c8c79a85fbd6870cd6fc3d66d038a115ebe22efe)
e[36minfoe[39m: Appium REST http interface listener started on 127.0.0.1:4788
e[36minfoe[39m: [debug] Non-default server args: {“address”:“127.0.0.1”,“port”:4788,“noReset”:true}
e[36minfoe[39m: Console LogLevel: debug
e[36minfoe[39m: e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m e[90m{“desiredCapabilities”:{“newCommandTimeout”:300,“automationName”:“appium”,“platformVersion”:“4.2.2”,“app”:“D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk”,“platformName”:“Android”,“deviceName”:“Nexus 7”,“browserName”:"",“app-package”:“com.Safeway.client.android.vons”,“app-activity”:“com.Safeway.client.android.ui.SplashScreen”}}e[39m
e[36minfoe[39m: Client User-Agent string: Apache-HttpClient/4.3.4 (java 1.5)
e[36minfoe[39m: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : app-package, app-activity
e[36minfoe[39m: [debug] No appActivity desired capability or server param. Parsing from apk.
e[36minfoe[39m: [debug] No appPackage desired capability or server param. Parsing from apk.
e[36minfoe[39m: [debug] Using local app from desired caps: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk
e[36minfoe[39m: [debug] Creating new appium session 10c79ee4-1ca3-44f2-86da-ba9575425d11
e[36minfoe[39m: Starting android appium
e[36minfoe[39m: [debug] Getting Java version
e[36minfoe[39m: Java version is: 1.7.0_71
e[36minfoe[39m: [debug] Using fast reset? false
e[36minfoe[39m: [debug] Preparing device for session
e[36minfoe[39m: [debug] Checking whether app is actually present
e[36minfoe[39m: [debug] Checking whether adb is present
e[36minfoe[39m: [debug] Using adb from D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe
e[36minfoe[39m: Retrieving device
e[36minfoe[39m: [debug] Trying to find a connected android device
e[36minfoe[39m: [debug] Getting connected devices…
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe devices
e[36minfoe[39m: [debug] 1 device(s) connected
e[36minfoe[39m: Found device emulator-5554
e[36minfoe[39m: [debug] Setting device id to emulator-5554
e[36minfoe[39m: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 wait-for-device
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “echo ‘ready’”
e[36minfoe[39m: [debug] Starting logcat capture
e[36minfoe[39m: [debug] Parsing package and activity from app manifest
e[36minfoe[39m: [debug] Checking whether aapt is present
e[36minfoe[39m: [debug] Using aapt from D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\21.1.2\aapt.exe
e[36minfoe[39m: [debug] Extracting package and launch activity from manifest.
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\21.1.2\aapt.exe dump badging D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk
e[36minfoe[39m: [debug] badging package: com.safeway.client.android.vons
e[36minfoe[39m: [debug] badging act: com.safeway.client.android.ui.SafewayMainActivity
e[36minfoe[39m: [debug] Parsed package and activity are: com.safeway.client.android.vons/com.safeway.client.android.ui.SafewayMainActivity
e[36minfoe[39m: [debug] Getting device API level
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “getprop ro.build.version.sdk”
e[36minfoe[39m: [debug] Device is at API Level 17
e[36minfoe[39m: Device API level is: 17
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “getprop persist.sys.language”
e[36minfoe[39m: [debug] Current device persist.sys.language: en
e[36minfoe[39m: [debug] java -jar “D:\APPIUMWORK\APPIUMFORWIN\AppiumForWindows-1.3.4.1\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar” “stringsFromApk” “D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk” “C:\Users\KEDUPU~1\AppData\Local\Temp\com.safeway.client.android.vons” en
e[36minfoe[39m: [debug] No strings.xml for language ‘en’, getting default strings.xml
e[36minfoe[39m: [debug] java -jar “D:\APPIUMWORK\APPIUMFORWIN\AppiumForWindows-1.3.4.1\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar” “stringsFromApk” “D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk” “C:\Users\KEDUPU~1\AppData\Local\Temp\com.safeway.client.android.vons”
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 push “C:\Users\KEDUPU~1\AppData\Local\Temp\com.safeway.client.android.vons\strings.json” /data/local/tmp
e[36minfoe[39m: [debug] Checking whether aapt is present
e[36minfoe[39m: [debug] Using aapt from D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\21.1.2\aapt.exe
e[36minfoe[39m: [debug] Retrieving process from manifest.
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\21.1.2\aapt.exe dump xmltree D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk AndroidManifest.xml
e[36minfoe[39m: [debug] Set app process to: com.safeway.client.android.vons
e[36minfoe[39m: [debug] Not uninstalling app since server not started with --full-reset
e[36minfoe[39m: [debug] Checking app cert for D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk.
e[36minfoe[39m: [debug] executing cmd: java -jar D:\APPIUMWORK\APPIUMFORWIN\AppiumForWindows-1.3.4.1\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk
e[36minfoe[39m: [debug] App already signed.
e[36minfoe[39m: [debug] Zip-aligning D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk
e[36minfoe[39m: [debug] Checking whether zipalign is present
e[36minfoe[39m: [debug] Using zipalign from D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\21.1.2\zipalign.exe
e[36minfoe[39m: [debug] Zip-aligning apk.
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\21.1.2\zipalign.exe -f 4 D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk C:\Users\KEDUPU~1\AppData\Local\Temp\appium11505-6332-iurijw.tmp
e[36minfoe[39m: [debug] MD5 for app is f2446561bfe279891dc3810bd38bf851
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “ls /data/local/tmp/f2446561bfe279891dc3810bd38bf851.apk”
e[36minfoe[39m: [debug] Getting install status for com.safeway.client.android.vons
e[36minfoe[39m: [debug] Getting device API level
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “getprop ro.build.version.sdk”
e[36minfoe[39m: [debug] Device is at API Level 17
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “pm list packages -3 com.safeway.client.android.vons”
e[36minfoe[39m: [debug] App is installed
e[36minfoe[39m: [debug] Forwarding system:4724 to device:4724
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 forward tcp:4724 tcp:4724
e[36minfoe[39m: [debug] Pushing appium bootstrap to device…
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 push “D:\APPIUMWORK\APPIUMFORWIN\AppiumForWindows-1.3.4.1\Appium\node_modules\appium\build\android_bootstrap\AppiumBootstrap.jar” /data/local/tmp/
e[36minfoe[39m: [debug] Pushing settings apk to device…
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 install “D:\APPIUMWORK\APPIUMFORWIN\AppiumForWindows-1.3.4.1\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk”
e[36minfoe[39m: [debug] Pushing unlock helper app to device…
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 install “D:\APPIUMWORK\APPIUMFORWIN\AppiumForWindows-1.3.4.1\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk”
e[36minfoe[39m: Starting App
e[36minfoe[39m: [debug] Attempting to kill all ‘uiautomator’ processes
e[36minfoe[39m: [debug] Getting all processes with ‘uiautomator’
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “ps ‘uiautomator’”
e[36minfoe[39m: [debug] No matching processes found
e[36minfoe[39m: [debug] Running bootstrap
e[36minfoe[39m: [debug] spawning: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunnere[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrape[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServere[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1e[39m
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
e[36minfoe[39m: [debug] Waking up device if it’s not alive
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“wake”,{}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Loading json…
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] json loading complete.
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Client connected
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“wake”,“params”:{}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: wake
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:true,“status”:0}
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “dumpsys window”
e[36minfoe[39m: [debug] Screen already unlocked, continuing.
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“getDataDir”,{}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“getDataDir”,“params”:{}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:"/data",“status”:0}
e[36minfoe[39m: [debug] dataDir set to: /data
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“compressedLayoutHierarchy”,{“compressLayout”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“compressedLayoutHierarchy”,“params”:{“compressLayout”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:false,“status”:0}
e[36minfoe[39m: [debug] Getting device API level
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “getprop ro.build.version.sdk”
e[36minfoe[39m: [debug] Device is at API Level 17
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.safeway.client.android.vons/com.safeway.client.android.ui.SafewayMainActivity”
e[36minfoe[39m: [debug] Waiting for pkg “com.safeway.client.android.vons” and activity “com.safeway.client.android.ui.SafewayMainActivity” to be focused
e[36minfoe[39m: [debug] Getting focused package and activity
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “dumpsys window windows”
e[36minfoe[39m: [debug] Getting focused package and activity
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “dumpsys window windows”
e[36minfoe[39m: [debug] Device launched! Ready for commands
e[36minfoe[39m: [debug] Setting command timeout to 300 secs
e[36minfoe[39m: [debug] Appium session started with sessionId 10c79ee4-1ca3-44f2-86da-ba9575425d11
e[36minfoe[39m: e[37m<-- POST /wd/hub/session e[39me[36m303e[39me[90m 15778.164 ms - 9e[39m e[90me[39m
e[36minfoe[39m: e[37m–>e[39m e[37mGETe[39m e[37m/wd/hub/session/10c79ee4-1ca3-44f2-86da-ba9575425d11e[39m e[90m{}e[39m
e[36minfoe[39m: [debug] Responding to client with success: {“status”:0,“value”:{“platform”:“LINUX”,“browserName”:"",“platformVersion”:“4.2.2”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“newCommandTimeout”:300,“automationName”:“appium”,“platformVersion”:“4.2.2”,“app”:“D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk”,“platformName”:“Android”,“deviceName”:“Nexus 7”,“browserName”:"",“app-package”:“com.Safeway.client.android.vons”,“app-activity”:“com.Safeway.client.android.ui.SplashScreen”},“newCommandTimeout”:300,“automationName”:“appium”,“app”:“D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk”,“platformName”:“Android”,“deviceName”:“Nexus 7”,“app-package”:“com.Safeway.client.android.vons”,“app-activity”:“com.Safeway.client.android.ui.SplashScreen”},“sessionId”:“10c79ee4-1ca3-44f2-86da-ba9575425d11”}
e[36minfoe[39m: e[37m<-- GET /wd/hub/session/10c79ee4-1ca3-44f2-86da-ba9575425d11 e[39me[32m200e[39me[90m 2.407 ms - 1001e[39m e[90m{“status”:0,“value”:{“platform”:“LINUX”,“browserName”:"",“platformVersion”:“4.2.2”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“newCommandTimeout”:300,“automationName”:“appium”,“platformVersion”:“4.2.2”,“app”:“D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk”,“platformName”:“Android”,“deviceName”:“Nexus 7”,“browserName”:"",“app-package”:“com.Safeway.client.android.vons”,“app-activity”:“com.Safeway.client.android.ui.SplashScreen”},“newCommandTimeout”:300,“automationName”:“appium”,“app”:“D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk”,“platformName”:“Android”,“deviceName”:“Nexus 7”,“app-package”:“com.Safeway.client.android.vons”,“app-activity”:“com.Safeway.client.android.ui.SplashScreen”},“sessionId”:“10c79ee4-1ca3-44f2-86da-ba9575425d11”}e[39m
e[36minfoe[39m: e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/10c79ee4-1ca3-44f2-86da-ba9575425d11/timeouts/implicit_waite[39m e[90m{“ms”:60000}e[39m
e[36minfoe[39m: [debug] Set Android implicit wait to 60000ms
e[36minfoe[39m: [debug] Responding to client with success: {“status”:0,“value”:null,“sessionId”:“10c79ee4-1ca3-44f2-86da-ba9575425d11”}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/10c79ee4-1ca3-44f2-86da-ba9575425d11/timeouts/implicit_wait e[39me[32m200e[39me[90m 1.622 ms - 76e[39m e[90m{“status”:0,“value”:null,“sessionId”:“10c79ee4-1ca3-44f2-86da-ba9575425d11”}e[39m
e[36minfoe[39m: e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/10c79ee4-1ca3-44f2-86da-ba9575425d11/elementse[39m e[90m{“using”:“class name”,“value”:“android.widget.TextView”}e[39m
e[36minfoe[39m: [debug] Waiting up to 60000ms for condition
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“class name”,“selector”:“android.widget.TextView”,“context”:"",“multiple”:true}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“class name”,“selector”:“android.widget.TextView”,“context”:"",“multiple”:true}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding android.widget.TextView using CLASS_NAME with the contextId: multiple: true
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.TextView]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Element[] is null: (0)
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] getElements tmp selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=0]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:[],“status”:0}
e[36minfoe[39m: [debug] Waited for 2670ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“class name”,“selector”:“android.widget.TextView”,“context”:"",“multiple”:true}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“class name”,“selector”:“android.widget.TextView”,“context”:"",“multiple”:true}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding android.widget.TextView using CLASS_NAME with the contextId: multiple: true
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.TextView]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Element[] is null: (0)
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] getElements tmp selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=0]
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunnere[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrape[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] Error in testRunServer:e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] java.lang.NoClassDefFoundError: com.android.uiautomator.core.Configuratore[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.AndroidElement.(AndroidElement.java:26)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.AndroidElementsHash.addElement(AndroidElementsHash.java:47)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.AndroidElementsHash.getElements(AndroidElementsHash.java:155)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.handler.Find.fetchElements(Find.java:167)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.handler.Find.execute(Find.java:104)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.AndroidCommandExecutor.execute(AndroidCommandExecutor.java:64)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.SocketServer.runCommand(SocketServer.java:168)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.SocketServer.handleClientData(SocketServer.java:89)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.SocketServer.listenForever(SocketServer.java:133)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.Bootstrap.testRunServer(Bootstrap.java:16)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at java.lang.reflect.Method.invokeNative(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.uiautomator.testrunner.UiAutomatorTestRunner.start(UiAutomatorTestRunner.java:144)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.uiautomator.testrunner.UiAutomatorTestRunner.run(UiAutomatorTestRunner.java:87)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.commands.uiautomator.RunTestCommand.run(RunTestCommand.java:90)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.commands.uiautomator.Launcher.main(Launcher.java:83)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at dalvik.system.NativeStart.main(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stack=java.lang.NoClassDefFoundError: com.android.uiautomator.core.Configuratore[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.AndroidElement.(AndroidElement.java:26)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.AndroidElementsHash.addElement(AndroidElementsHash.java:47)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.AndroidElementsHash.getElements(AndroidElementsHash.java:155)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.handler.Find.fetchElements(Find.java:167)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.handler.Find.execute(Find.java:104)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.AndroidCommandExecutor.execute(AndroidCommandExecutor.java:64)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.SocketServer.runCommand(SocketServer.java:168)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.SocketServer.handleClientData(SocketServer.java:89)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.SocketServer.listenForever(SocketServer.java:133)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.Bootstrap.testRunServer(Bootstrap.java:16)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at java.lang.reflect.Method.invokeNative(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.uiautomator.testrunner.UiAutomatorTestRunner.start(UiAutomatorTestRunner.java:144)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.uiautomator.testrunner.UiAutomatorTestRunner.run(UiAutomatorTestRunner.java:87)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.commands.uiautomator.RunTestCommand.run(RunTestCommand.java:90)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.commands.uiautomator.Launcher.main(Launcher.java:83)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at dalvik.system.NativeStart.main(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServere[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.Ee[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] Time: 11.668e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] FAILURES!!!e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] Tests run: 1, Failures: 0, Errors: 1e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1e[39m
e[36minfoe[39m: [debug] UiAutomator exited
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “echo ‘ping’”
e[36minfoe[39m: [debug] Attempting to uninstall app
e[36minfoe[39m: [debug] Not uninstalling app since server not started with --full-reset
e[36minfoe[39m: [debug] Cleaning up android objects
e[36minfoe[39m: [debug] Waited for 6050ms so far
e[36minfoe[39m: [debug] Cleaning up appium session
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“class name”,“selector”:“android.widget.TextView”,“context”:"",“multiple”:true}]
e[36minfoe[39m: [debug] Responding to client with error: {“status”:13,“value”:{“message”:“An unknown server-side error occurred while processing the command.”,“origValue”:“Tried to send command to non-existent Android device, maybe it shut down?”},“sessionId”:null}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/10c79ee4-1ca3-44f2-86da-ba9575425d11/elements e[39me[31m500e[39me[90m 6565.422 ms - 208e[39m e[90me[39m
Exception in thread “main” org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 6.57 seconds
Build info: version: ‘2.44.0’, revision: ‘76d78cf’, time: ‘2014-10-23 20:03:00’
System info: host: ‘CSCINDAE751814’, ip: ‘10.31.24.67’, os.name: ‘Windows 7’, os.arch: ‘x86’, os.version: ‘6.1’, java.version: ‘1.7.0_71’
Session ID: 10c79ee4-1ca3-44f2-86da-ba9575425d11
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities [{automationName=appium, platform=LINUX, app=D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk, javascriptEnabled=true, browserName=, networkConnectionEnabled=true, desired={automationName=appium, newCommandTimeout=300, app=D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk, platformVersion=4.2.2, deviceName=Nexus 7, platformName=Android, browserName=, app-package=com.Safeway.client.android.vons, app-activity=com.Safeway.client.android.ui.SplashScreen}, locationContextEnabled=false, newCommandTimeout=300, platformVersion=4.2.2, databaseEnabled=false, platformName=Android, deviceName=Nexus 7, app-package=com.Safeway.client.android.vons, webStorageEnabled=false, app-activity=com.Safeway.client.android.ui.SplashScreen, warnings={}, takesScreenshot=true}]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:180)
at org.openqa.selenium.remote.RemoteWebDriver.findElements(RemoteWebDriver.java:377)
at org.openqa.selenium.remote.RemoteWebDriver.findElementsByClassName(RemoteWebDriver.java:437)
at com.Sample.Java.Sample.main(Sample.java:102)
e[36minfoe[39m: [debug] Didn’t get a new command in 60 secs, shutting down…
e[36minfoe[39m: [debug] Trying to stop appium but there’s no session, doing nothing
e[36minfoe[39m: [debug] We shut down because no new commands came in

Regards,
Kiran

1 Like

Hi Team,

Apart from above below statement to click on “Drawer” image icon in the Android Native App. Below statement is working fine in Device but not working in Android Emulator. Do I need to install any specific components in order to work below statement. This is showing same behavior for remaining elements as well. In the previous post statement also working fine in device but not in emulator.

Can anyone help me in this?

Public static AppiumDriver ApUMDriver = null;
ApUMDriver.findElementByXPath("//android.widget.ImageView[@resource-id=‘android:id/home’]").click();

Below is generate log

e[36minfoe[39m: Welcome to Appium v1.3.4 (REV c8c79a85fbd6870cd6fc3d66d038a115ebe22efe)
e[36minfoe[39m: Appium REST http interface listener started on 127.0.0.1:4788
e[36minfoe[39m: [debug] Non-default server args: {“address”:“127.0.0.1”,“port”:4788,“noReset”:true}
e[36minfoe[39m: Console LogLevel: debug
e[36minfoe[39m: e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m e[90m{“desiredCapabilities”:{“newCommandTimeout”:300,“automationName”:“appium”,“platformVersion”:“4.2.2”,“app”:“D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk”,“platformName”:“Android”,“deviceName”:“Nexus 7”,“browserName”:"",“app-package”:“com.Safeway.client.android.vons”,“app-activity”:“com.Safeway.client.android.ui.SplashScreen”}}e[39m
e[36minfoe[39m: Client User-Agent string: Apache-HttpClient/4.3.4 (java 1.5)
e[36minfoe[39m: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : app-package, app-activity
e[36minfoe[39m: [debug] No appActivity desired capability or server param. Parsing from apk.
e[36minfoe[39m: [debug] No appPackage desired capability or server param. Parsing from apk.
e[36minfoe[39m: [debug] Using local app from desired caps: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk
e[36minfoe[39m: [debug] Creating new appium session 8e7b4ec1-009f-494f-8ce0-f3fdf28b9d1c
e[36minfoe[39m: Starting android appium
e[36minfoe[39m: [debug] Getting Java version
e[36minfoe[39m: Java version is: 1.7.0_71
e[36minfoe[39m: [debug] Using fast reset? false
e[36minfoe[39m: [debug] Preparing device for session
e[36minfoe[39m: [debug] Checking whether app is actually present
e[36minfoe[39m: [debug] Checking whether adb is present
e[36minfoe[39m: [debug] Using adb from D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe
e[36minfoe[39m: Retrieving device
e[36minfoe[39m: [debug] Trying to find a connected android device
e[36minfoe[39m: [debug] Getting connected devices…
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe devices
e[36minfoe[39m: [debug] 1 device(s) connected
e[36minfoe[39m: Found device emulator-5554
e[36minfoe[39m: [debug] Setting device id to emulator-5554
e[36minfoe[39m: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 wait-for-device
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “echo ‘ready’”
e[36minfoe[39m: [debug] Starting logcat capture
e[36minfoe[39m: [debug] Parsing package and activity from app manifest
e[36minfoe[39m: [debug] Checking whether aapt is present
e[36minfoe[39m: [debug] Using aapt from D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\21.1.2\aapt.exe
e[36minfoe[39m: [debug] Extracting package and launch activity from manifest.
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\21.1.2\aapt.exe dump badging D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk
e[36minfoe[39m: [debug] badging package: com.safeway.client.android.vons
e[36minfoe[39m: [debug] badging act: com.safeway.client.android.ui.SafewayMainActivity
e[36minfoe[39m: [debug] Parsed package and activity are: com.safeway.client.android.vons/com.safeway.client.android.ui.SafewayMainActivity
e[36minfoe[39m: [debug] Getting device API level
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “getprop ro.build.version.sdk”
e[36minfoe[39m: [debug] Device is at API Level 17
e[36minfoe[39m: Device API level is: 17
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “getprop persist.sys.language”
e[36minfoe[39m: [debug] Current device persist.sys.language: en
e[36minfoe[39m: [debug] java -jar “D:\APPIUMWORK\APPIUMFORWIN\AppiumForWindows-1.3.4.1\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar” “stringsFromApk” “D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk” “C:\Users\KEDUPU~1\AppData\Local\Temp\com.safeway.client.android.vons” en
e[36minfoe[39m: [debug] No strings.xml for language ‘en’, getting default strings.xml
e[36minfoe[39m: [debug] java -jar “D:\APPIUMWORK\APPIUMFORWIN\AppiumForWindows-1.3.4.1\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar” “stringsFromApk” “D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk” “C:\Users\KEDUPU~1\AppData\Local\Temp\com.safeway.client.android.vons”
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 push “C:\Users\KEDUPU~1\AppData\Local\Temp\com.safeway.client.android.vons\strings.json” /data/local/tmp
e[36minfoe[39m: [debug] Checking whether aapt is present
e[36minfoe[39m: [debug] Using aapt from D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\21.1.2\aapt.exe
e[36minfoe[39m: [debug] Retrieving process from manifest.
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\21.1.2\aapt.exe dump xmltree D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk AndroidManifest.xml
e[36minfoe[39m: [debug] Set app process to: com.safeway.client.android.vons
e[36minfoe[39m: [debug] Not uninstalling app since server not started with --full-reset
e[36minfoe[39m: [debug] Checking app cert for D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk.
e[36minfoe[39m: [debug] executing cmd: java -jar D:\APPIUMWORK\APPIUMFORWIN\AppiumForWindows-1.3.4.1\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk
e[36minfoe[39m: [debug] App already signed.
e[36minfoe[39m: [debug] Zip-aligning D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk
e[36minfoe[39m: [debug] Checking whether zipalign is present
e[36minfoe[39m: [debug] Using zipalign from D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\21.1.2\zipalign.exe
e[36minfoe[39m: [debug] Zip-aligning apk.
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\21.1.2\zipalign.exe -f 4 D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk C:\Users\KEDUPU~1\AppData\Local\Temp\appium11506-4912-7vrql6.tmp
e[36minfoe[39m: [debug] MD5 for app is f2446561bfe279891dc3810bd38bf851
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “ls /data/local/tmp/f2446561bfe279891dc3810bd38bf851.apk”
e[36minfoe[39m: [debug] Getting install status for com.safeway.client.android.vons
e[36minfoe[39m: [debug] Getting device API level
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “getprop ro.build.version.sdk”
e[36minfoe[39m: [debug] Device is at API Level 17
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “pm list packages -3 com.safeway.client.android.vons”
e[36minfoe[39m: [debug] App is not installed
e[36minfoe[39m: Installing App
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “mkdir -p /data/local/tmp/”
e[36minfoe[39m: [debug] Removing any old apks
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “ls /data/local/tmp/*.apk”
e[36minfoe[39m: [debug] No apks to examine
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 push “D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk” /data/local/tmp/f2446561bfe279891dc3810bd38bf851.apk
e[36minfoe[39m: [debug] Uninstalling com.safeway.client.android.vons
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “am force-stop com.safeway.client.android.vons”
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 uninstall com.safeway.client.android.vons
e[36minfoe[39m: [debug] App was not uninstalled, maybe it wasn’t on device?
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “pm install -r /data/local/tmp/f2446561bfe279891dc3810bd38bf851.apk”
e[36minfoe[39m: [debug] Forwarding system:4724 to device:4724
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 forward tcp:4724 tcp:4724
e[36minfoe[39m: [debug] Pushing appium bootstrap to device…
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 push “D:\APPIUMWORK\APPIUMFORWIN\AppiumForWindows-1.3.4.1\Appium\node_modules\appium\build\android_bootstrap\AppiumBootstrap.jar” /data/local/tmp/
e[36minfoe[39m: [debug] Pushing settings apk to device…
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 install “D:\APPIUMWORK\APPIUMFORWIN\AppiumForWindows-1.3.4.1\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk”
e[36minfoe[39m: [debug] Pushing unlock helper app to device…
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 install “D:\APPIUMWORK\APPIUMFORWIN\AppiumForWindows-1.3.4.1\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk”
e[36minfoe[39m: Starting App
e[36minfoe[39m: [debug] Attempting to kill all ‘uiautomator’ processes
e[36minfoe[39m: [debug] Getting all processes with ‘uiautomator’
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “ps ‘uiautomator’”
e[36minfoe[39m: [debug] No matching processes found
e[36minfoe[39m: [debug] Running bootstrap
e[36minfoe[39m: [debug] spawning: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunnere[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrape[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServere[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1e[39m
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
e[36minfoe[39m: [debug] Waking up device if it’s not alive
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“wake”,{}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Loading json…
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] json loading complete.
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Client connected
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“wake”,“params”:{}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: wake
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:true,“status”:0}
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “dumpsys window”
e[36minfoe[39m: [debug] Screen already unlocked, continuing.
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“getDataDir”,{}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“getDataDir”,“params”:{}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:"/data",“status”:0}
e[36minfoe[39m: [debug] dataDir set to: /data
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“compressedLayoutHierarchy”,{“compressLayout”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“compressedLayoutHierarchy”,“params”:{“compressLayout”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:false,“status”:0}
e[36minfoe[39m: [debug] Getting device API level
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “getprop ro.build.version.sdk”
e[36minfoe[39m: [debug] Device is at API Level 17
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.safeway.client.android.vons/com.safeway.client.android.ui.SafewayMainActivity”
e[36minfoe[39m: [debug] Waiting for pkg “com.safeway.client.android.vons” and activity “com.safeway.client.android.ui.SafewayMainActivity” to be focused
e[36minfoe[39m: [debug] Getting focused package and activity
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “dumpsys window windows”
e[36minfoe[39m: [debug] Getting focused package and activity
e[36minfoe[39m: [debug] executing cmd: D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\platform-tools\adb.exe -s emulator-5554 shell “dumpsys window windows”
e[36minfoe[39m: [debug] Device launched! Ready for commands
e[36minfoe[39m: [debug] Setting command timeout to 300 secs
e[36minfoe[39m: [debug] Appium session started with sessionId 8e7b4ec1-009f-494f-8ce0-f3fdf28b9d1c
e[36minfoe[39m: e[37m<-- POST /wd/hub/session e[39me[36m303e[39me[90m 53624.454 ms - 9e[39m e[90me[39m
e[36minfoe[39m: e[37m–>e[39m e[37mGETe[39m e[37m/wd/hub/session/8e7b4ec1-009f-494f-8ce0-f3fdf28b9d1ce[39m e[90m{}e[39m
e[36minfoe[39m: [debug] Responding to client with success: {“status”:0,“value”:{“platform”:“LINUX”,“browserName”:"",“platformVersion”:“4.2.2”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“newCommandTimeout”:300,“automationName”:“appium”,“platformVersion”:“4.2.2”,“app”:“D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk”,“platformName”:“Android”,“deviceName”:“Nexus 7”,“browserName”:"",“app-package”:“com.Safeway.client.android.vons”,“app-activity”:“com.Safeway.client.android.ui.SplashScreen”},“newCommandTimeout”:300,“automationName”:“appium”,“app”:“D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk”,“platformName”:“Android”,“deviceName”:“Nexus 7”,“app-package”:“com.Safeway.client.android.vons”,“app-activity”:“com.Safeway.client.android.ui.SplashScreen”},“sessionId”:“8e7b4ec1-009f-494f-8ce0-f3fdf28b9d1c”}
e[36minfoe[39m: e[37m<-- GET /wd/hub/session/8e7b4ec1-009f-494f-8ce0-f3fdf28b9d1c e[39me[32m200e[39me[90m 1.870 ms - 1001e[39m e[90m{“status”:0,“value”:{“platform”:“LINUX”,“browserName”:"",“platformVersion”:“4.2.2”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“newCommandTimeout”:300,“automationName”:“appium”,“platformVersion”:“4.2.2”,“app”:“D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk”,“platformName”:“Android”,“deviceName”:“Nexus 7”,“browserName”:"",“app-package”:“com.Safeway.client.android.vons”,“app-activity”:“com.Safeway.client.android.ui.SplashScreen”},“newCommandTimeout”:300,“automationName”:“appium”,“app”:“D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk”,“platformName”:“Android”,“deviceName”:“Nexus 7”,“app-package”:“com.Safeway.client.android.vons”,“app-activity”:“com.Safeway.client.android.ui.SplashScreen”},“sessionId”:“8e7b4ec1-009f-494f-8ce0-f3fdf28b9d1c”}e[39m
e[36minfoe[39m: e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/8e7b4ec1-009f-494f-8ce0-f3fdf28b9d1c/timeouts/implicit_waite[39m e[90m{“ms”:60000}e[39m
e[36minfoe[39m: [debug] Set Android implicit wait to 60000ms
e[36minfoe[39m: [debug] Responding to client with success: {“status”:0,“value”:null,“sessionId”:“8e7b4ec1-009f-494f-8ce0-f3fdf28b9d1c”}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/8e7b4ec1-009f-494f-8ce0-f3fdf28b9d1c/timeouts/implicit_wait e[39me[32m200e[39me[90m 1.690 ms - 76e[39m e[90m{“status”:0,“value”:null,“sessionId”:“8e7b4ec1-009f-494f-8ce0-f3fdf28b9d1c”}e[39m
e[36minfoe[39m: e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/8e7b4ec1-009f-494f-8ce0-f3fdf28b9d1c/elemente[39m e[90m{“using”:“xpath”,“value”:"//android.widget.ImageView[@resource-id=‘android:id/home’]"}e[39m
e[36minfoe[39m: [debug] Waiting up to 60000ms for condition
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 4708ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] java.io.FileNotFoundException: /data/local/tmp/dump.xml: open failed: ENOENT (No such file or directory)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at libcore.io.IoBridge.open(IoBridge.java:416)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at java.io.FileInputStream.(FileInputStream.java:78)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at java.io.FileReader.(FileReader.java:42)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.utils.XMLHierarchy.getRawXMLHierarchy(XMLHierarchy.java:88)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.utils.XMLHierarchy.getFormattedXMLDoc(XMLHierarchy.java:96)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.utils.XMLHierarchy.getClassInstancePairs(XMLHierarchy.java:39)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.handler.Find.getXPathSelectors(Find.java:316)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.handler.Find.getSelectors(Find.java:207)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.handler.Find.execute(Find.java:84)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.AndroidCommandExecutor.execute(AndroidCommandExecutor.java:64)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.SocketServer.runCommand(SocketServer.java:168)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.SocketServer.handleClientData(SocketServer.java:89)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.SocketServer.listenForever(SocketServer.java:133)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.Bootstrap.testRunServer(Bootstrap.java:16)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] java.lang.reflect.Method.invokeNative(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] java.lang.reflect.Method.invoke(Method.java:511)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] junit.framework.TestCase.runTest(TestCase.java:168)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at junit.framework.TestCase.runBare(TestCase.java:134)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] junit.framework.TestResult$1.protect(TestResult.java:115)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] junit.framework.TestResult.runProtected(TestResult.java:133)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] junit.framework.TestResult.run(TestResult.java:118)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] junit.framework.TestCase.run(TestCase.java:124)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] com.android.uiautomator.testrunner.UiAutomatorTestRunner.start(UiAutomatorTestRunner.java:144)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] com.android.uiautomator.testrunner.UiAutomatorTestRunner.run(UiAutomatorTestRunner.java:87)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] com.android.commands.uiautomator.RunTestCommand.run(RunTestCommand.java:90)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] com.android.commands.uiautomator.Launcher.main(Launcher.java:83)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] dalvik.system.NativeStart.main(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] Caused by:e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] libcore.io.Posix.open(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] libcore.io.IoBridge.open(IoBridge.java:400)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] …e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] 28 moree[39m
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Command returned error:java.lang.RuntimeException: Failed to Dump Window Hierarchy
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Failed to Dump Window Hierarchy”,“status”:13}
e[36minfoe[39m: [debug] Waited for 5558ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] java.io.FileNotFoundException: /data/local/tmp/dump.xml: open failed: ENOENT (No such file or directory)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at libcore.io.IoBridge.open(IoBridge.java:416)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at java.io.FileInputStream.(FileInputStream.java:78)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at java.io.FileReader.(FileReader.java:42)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.utils.XMLHierarchy.getRawXMLHierarchy(XMLHierarchy.java:88)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.utils.XMLHierarchy.getFormattedXMLDoc(XMLHierarchy.java:96)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.utils.XMLHierarchy.getClassInstancePairs(XMLHierarchy.java:39)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.handler.Find.getXPathSelectors(Find.java:316)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.handler.Find.getSelectors(Find.java:207)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.handler.Find.execute(Find.java:84)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.AndroidCommandExecutor.execute(AndroidCommandExecutor.java:64)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.SocketServer.runCommand(SocketServer.java:168)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.SocketServer.handleClientData(SocketServer.java:89)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.SocketServer.listenForever(SocketServer.java:133)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap.testRunServer(Bootstrap.java:16)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at java.lang.reflect.Method.invokeNative(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] java.lang.reflect.Method.invoke(Method.java:511)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at junit.framework.TestCase.runTest(TestCase.java:168)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at junit.framework.TestCase.runBare(TestCase.java:134)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at junit.framework.TestResult$1.protect(TestResult.java:115)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] junit.framework.TestResult.runProtected(TestResult.java:133)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at junit.framework.TestResult.run(TestResult.java:118)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] junit.framework.TestCase.run(TestCase.java:124)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] com.android.uiautomator.testrunner.UiAutomatorTestRunner.start(UiAutomatorTestRunner.java:144)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] com.android.uiautomator.testrunner.UiAutomatorTestRunner.run(UiAutomatorTestRunner.java:87)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.commands.uiautomator.RunTestCommand.run(RunTestCommand.java:90)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] com.android.commands.uiautomator.Launcher.main(Launcher.java:83)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] dalvik.system.NativeStart.main(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] Caused by:e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] libcore.io.Posix.open(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] libcore.io.IoBridge.open(IoBridge.java:400)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] … 28 moree[39m
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Command returned error:java.lang.RuntimeException: Failed to Dump Window Hierarchy
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Failed to Dump Window Hierarchy”,“status”:13}
e[36minfoe[39m: [debug] Waited for 6438ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] java.io.FileNotFoundException: /data/local/tmp/dump.xml: open failed: ENOENT (No such file or directory)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at libcore.io.IoBridge.open(IoBridge.java:416)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] java.io.FileInputStream.(FileInputStream.java:78)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at java.io.FileReader.(FileReader.java:42)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.utils.XMLHierarchy.getRawXMLHierarchy(XMLHierarchy.java:88)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.utils.XMLHierarchy.getFormattedXMLDoc(XMLHierarchy.java:96)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.utils.XMLHierarchy.getClassInstancePairs(XMLHierarchy.java:39)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.handler.Find.getXPathSelectors(Find.java:316)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.handler.Find.getSelectors(Find.java:207)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.handler.Find.execute(Find.java:84)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.AndroidCommandExecutor.execute(AndroidCommandExecutor.java:64)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.SocketServer.runCommand(SocketServer.java:168)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.SocketServer.handleClientData(SocketServer.java:89)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.SocketServer.listenForever(SocketServer.java:133)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.Bootstrap.testRunServer(Bootstrap.java:16)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] java.lang.reflect.Method.invokeNative(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at java.lang.reflect.Method.invoke(Method.java:511)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] junit.framework.TestCase.runTest(TestCase.java:168)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] junit.framework.TestCase.runBare(TestCase.java:134)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] junit.framework.TestResult$1.protect(TestResult.java:115)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] junit.framework.TestResult.runProtected(TestResult.java:133)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] junit.framework.TestResult.run(TestResult.java:118)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] junit.framework.TestCase.run(TestCase.java:124)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] com.android.uiautomator.testrunner.UiAutomatorTestRunner.start(UiAutomatorTestRunner.java:144)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.uiautomator.testrunner.UiAutomatorTestRunner.run(UiAutomatorTestRunner.java:87)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] com.android.commands.uiautomator.RunTestCommand.run(RunTestCommand.java:90)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] com.android.commands.uiautomator.Launcher.main(Launcher.java:83)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] dalvik.system.NativeStart.main(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] Caused by:e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] libcore.io.Posix.open(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] libcore.io.IoBridge.open(IoBridge.java:400)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] …e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] 28 moree[39m
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Command returned error:java.lang.RuntimeException: Failed to Dump Window Hierarchy
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Failed to Dump Window Hierarchy”,“status”:13}
e[36minfoe[39m: [debug] Waited for 7125ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 7851ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 8606ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 9285ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 9933ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 10606ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 11295ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 11962ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 12669ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 13351ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 14051ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 14720ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 15374ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 16095ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 16774ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 17450ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 18149ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 18824ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 19475ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 20135ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 20782ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] java.io.FileNotFoundException: /data/local/tmp/dump.xml: open failed: ENOENT (No such file or directory)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at libcore.io.IoBridge.open(IoBridge.java:416)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at java.io.FileInputStream.(FileInputStream.java:78)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at java.io.FileReader.(FileReader.java:42)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.utils.XMLHierarchy.getRawXMLHierarchy(XMLHierarchy.java:88)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.utils.XMLHierarchy.getFormattedXMLDoc(XMLHierarchy.java:96)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.utils.XMLHierarchy.getClassInstancePairs(XMLHierarchy.java:39)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.handler.Find.getXPathSelectors(Find.java:316)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.handler.Find.getSelectors(Find.java:207)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.handler.Find.execute(Find.java:84)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.AndroidCommandExecutor.execute(AndroidCommandExecutor.java:64)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.SocketServer.runCommand(SocketServer.java:168)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.SocketServer.handleClientData(SocketServer.java:89)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.SocketServer.listenForever(SocketServer.java:133)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.Bootstrap.testRunServer(Bootstrap.java:16)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] java.lang.reflect.Method.invokeNative(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at java.lang.reflect.Method.invoke(Method.java:511)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at junit.framework.TestCase.runTest(TestCase.java:168)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] junit.framework.TestCase.runBare(TestCase.java:134)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at junit.framework.TestResult$1.protect(TestResult.java:115)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] junit.framework.TestResult.runProtected(TestResult.java:133)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at junit.framework.TestResult.run(TestResult.java:118)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] junit.framework.TestCase.run(TestCase.java:124)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.uiautomator.testrunner.UiAutomatorTestRunner.start(UiAutomatorTestRunner.java:144)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.uiautomator.testrunner.UiAutomatorTestRunner.run(UiAutomatorTestRunner.java:87)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.commands.uiautomator.RunTestCommand.run(RunTestCommand.java:90)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] com.android.commands.uiautomator.Launcher.main(Launcher.java:83)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] dalvik.system.NativeStart.main(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] Caused by:e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] libcore.io.Posix.open(Native Method)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] ate[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] libcore.io.IoBridge.open(IoBridge.java:400)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] … 28e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] moree[39m
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Command returned error:java.lang.RuntimeException: Failed to Dump Window Hierarchy
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Failed to Dump Window Hierarchy”,“status”:13}
e[36minfoe[39m: [debug] Waited for 21520ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 23181ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 24800ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 26393ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 27877ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 29403ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 30946ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 32493ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 33992ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 35543ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 37033ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 38559ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 40093ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 41586ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 43049ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 44453ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 45881ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 47353ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 48754ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 50196ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 51635ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 53095ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 54607ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 56020ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 57464ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
e[36minfoe[39m: [debug] Waited for 58861ms so far
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.ImageView[@resource-id=‘android:id/home’]”,“context”:"",“multiple”:false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@resource-id=‘android:id/home’]",“context”:"",“multiple”:false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: find
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.ImageView[@resource-id=‘android:id/home’] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:"Could not find an element using supplied strategy. ",“status”:7}
e[36minfoe[39m: [debug] Condition unmet after 60384ms. Timing out.
e[36minfoe[39m: [debug] Responding to client with error: {“status”:7,“value”:{“message”:“An element could not be located on the page using the given search parameters.”,“origValue”:"Could not find an element using supplied strategy. "},“sessionId”:“8e7b4ec1-009f-494f-8ce0-f3fdf28b9d1c”}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/8e7b4ec1-009f-494f-8ce0-f3fdf28b9d1c/element e[39me[31m500e[39me[90m 60387.289 ms - 230e[39m e[90me[39m
Exception in thread “main” org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 60.39 seconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: ‘2.44.0’, revision: ‘76d78cf’, time: ‘2014-10-23 20:03:00’
System info: host: ‘CSCINDAE751814’, ip: ‘10.31.24.67’, os.name: ‘Windows 7’, os.arch: ‘x86’, os.version: ‘6.1’, java.version: ‘1.7.0_71’
Session ID: 8e7b4ec1-009f-494f-8ce0-f3fdf28b9d1c
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities [{automationName=appium, platform=LINUX, app=D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk, javascriptEnabled=true, browserName=, networkConnectionEnabled=true, desired={automationName=appium, newCommandTimeout=300, app=D:\APPIUMWORK\android-sdk_r24.0.1-windows\android-sdk-windows\build-tools\Vons_4.2.0.3_09Oct14.apk, platformVersion=4.2.2, deviceName=Nexus 7, platformName=Android, browserName=, app-package=com.Safeway.client.android.vons, app-activity=com.Safeway.client.android.ui.SplashScreen}, locationContextEnabled=false, newCommandTimeout=300, platformVersion=4.2.2, databaseEnabled=false, platformName=Android, deviceName=Nexus 7, app-package=com.Safeway.client.android.vons, webStorageEnabled=false, app-activity=com.Safeway.client.android.ui.SplashScreen, warnings={}, takesScreenshot=true}]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:180)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:352)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:449)
at com.Sample.Java.Sample.main(Sample.java:115)

Regards,
Kiran

https://www.linkedin.com/groups/Which-is-best-tool-tools-5190708.S.5837467151560101890

this may be of some help.

Regards,
Vikram