Unable to click on Email after selecting photo from gallery

After adding image from gallery no other code being executed .
Code:
driver.findElement(By.id(“com.cruizco:id/addImage”)).click();
driver.findElement(By.xpath(“//android.widget.RelativeLayout[@index=‘3’]”)).click();
driver.findElement(By.xpath(“//android.view.View[@index=‘1’]”)).click();
Thread.sleep(5000);

    //Email,password ,location, DOB
    driver.findElement(By.id("com.cruizco:id/username")).sendKeys("[email protected]");
    driver.findElement(By.id("com.cruizco:id/password")).sendKeys("email");

Logcat:

info: [debug] 1 device(s) connected
info: Found device 192.168.246.101:5555
info: [debug] Setting device id to 192.168.246.101:5555
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 wait-for-device
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 shell “echo ‘ready’”
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 shell “getprop ro.build.version.sdk”
info: [debug] Device is at API Level 19
info: Device API level is: 19
info: [debug] Extracting strings for language: default
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 shell “getprop persist.sys.language”
info: [debug] Current device persist.sys.language: en
info: [debug] java -jar “C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar” “stringsFromApk” “C:\Users\rajbh\AppData\Local\Android\sdk\android-4.x\cruizco_apr1.apk” “C:\Users\rajbh\AppData\Local\Temp\com.cruizco” en
info: [debug] No strings.xml for language ‘en’, getting default strings.xml
info: [debug] java -jar “C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar” “stringsFromApk” “C:\Users\rajbh\AppData\Local\Android\sdk\android-4.x\cruizco_apr1.apk” “C:\Users\rajbh\AppData\Local\Temp\com.cruizco”
info: [debug] Reading strings from converted strings.json
info: [debug] Setting language to default
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 push “C:\Users\rajbh\AppData\Local\Temp\com.cruizco\strings.json” /data/local/tmp
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from C:\Users\rajbh\AppData\Local\Android\sdk\build-tools\23.0.1\aapt.exe
info: [debug] Retrieving process from manifest.
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\build-tools\23.0.1\aapt.exe dump xmltree C:\Users\rajbh\AppData\Local\Android\sdk\android-4.x\cruizco_apr1.apk AndroidManifest.xml
info: [debug] Set app process to: com.cruizco
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Checking app cert for C:\Users\rajbh\AppData\Local\Android\sdk\android-4.x\cruizco_apr1.apk.
info: [debug] executing cmd: java -jar “C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar” C:\Users\rajbh\AppData\Local\Android\sdk\android-4.x\cruizco_apr1.apk
info: [debug] App already signed.
info: [debug] Zip-aligning C:\Users\rajbh\AppData\Local\Android\sdk\android-4.x\cruizco_apr1.apk
info: [debug] Checking whether zipalign is present
info: [debug] Using zipalign from C:\Users\rajbh\AppData\Local\Android\sdk\build-tools\23.0.1\zipalign.exe
info: [debug] Zip-aligning apk.
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\build-tools\23.0.1\zipalign.exe -f 4 C:\Users\rajbh\AppData\Local\Android\sdk\android-4.x\cruizco_apr1.apk C:\Users\rajbh\AppData\Local\Temp\11637-3600-h1cbw2\appium.tmp
info: [debug] MD5 for app is 344e4a1d1d6b66cd5d6e86828ecbb816
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 shell “ls /data/local/tmp/344e4a1d1d6b66cd5d6e86828ecbb816.apk”
info: [debug] Getting install status for com.cruizco
info: [debug] Getting device API level
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 shell “getprop ro.build.version.sdk”
info: [debug] Device is at API Level 19
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 shell “pm list packages -3 com.cruizco”
info: [debug] App is installed
info: App is already installed, resetting app
info: [debug] Running fast reset (stop and clear)
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 shell “am force-stop com.cruizco”
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 shell “pm clear com.cruizco”
info: [debug] Forwarding system:4724 to device:4724
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 forward tcp:4724 tcp:4724
info: [debug] Pushing appium bootstrap to device…
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 push “C:\Program Files (x86)\Appium\node_modules\appium\build\android_bootstrap\AppiumBootstrap.jar” /data/local/tmp/
info: [debug] Pushing settings apk to device…
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 install “C:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk”
info: [debug] Pushing unlock helper app to device…
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 install “C:\Program Files (x86)\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk”
info: Starting App
info: [debug] Attempting to kill all ‘uiautomator’ processes
info: [debug] Getting all processes with ‘uiautomator’
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 shell “ps ‘uiautomator’”
info: [debug] No matching processes found
info: [debug] Running bootstrap
info: [debug] spawning: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.cruizco -e disableAndroidWatchers false
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1
info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
info: [debug] [BOOTSTRAP] [debug] Loading json…
info: [debug] Waking up device if it’s not alive
info: [debug] Pushing command to appium work queue: [“wake”,{}]
info: [debug] [BOOTSTRAP] [debug] json loading complete.
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
info: [debug] [BOOTSTRAP] [debug] Client connected
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“wake”,“params”:{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: wake
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:true,“status”:0}
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 shell “dumpsys window”
info: [debug] Screen already unlocked, continuing.
info: [debug] Pushing command to appium work queue: [“getDataDir”,{}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“getDataDir”,“params”:{}}
info: [debug] dataDir set to: /data
info: [debug] Pushing command to appium work queue: [“compressedLayoutHierarchy”,{“compressLayout”:false}]
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“/data”,“status”:0}
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“compressedLayoutHierarchy”,“params”:{“compressLayout”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
info: [debug] Getting device API level
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 shell “getprop ro.build.version.sdk”
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:false,“status”:0}
info: [debug] Device is at API Level 19
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 shell “am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.cruizco/com.shiva.cruizco.LoginActivity”
info: [debug] Waiting for pkg “com.cruizco” and activity “com.shiva.cruizco.LoginActivity” to be focused
info: [debug] Getting focused package and activity
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 shell “dumpsys window windows”
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 shell “getprop ro.build.version.release”
info: [debug] Device is at release version 4.4.4
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to the default of 60 secs
info: [debug] Appium session started with sessionId 87cb41de-ee99-49c3-8750-3b9de9087cd8
info: ← POST /wd/hub/session 303 11497.585 ms - 74
info: → GET /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8 {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“platform”:“LINUX”,“browserName”:“Android”,“platformVersion”:“4.4.4”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“BrowserName”:“”,“appPackage”:“com.cruizco”,“appActivity”:“com.shiva.cruizco.LoginActivity”,“platformVersion”:“4.4.4”,“appWaitActivity”:“com.shiva.cruizco.LoginActivity”,“platformName”:“Android”,“deviceName”:“device”},“BrowserName”:“”,“appPackage”:“com.cruizco”,“appActivity”:“com.shiva.cruizco.LoginActivity”,“appWaitActivity”:“com.shiva.cruizco.LoginActivity”,“platformName”:“Android”,“deviceName”:“192.168.246.101:5555”},“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: ← GET /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8 200 5.917 ms - 751 {“status”:0,“value”:{“platform”:“LINUX”,“browserName”:“Android”,“platformVersion”:“4.4.4”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“BrowserName”:“”,“appPackage”:“com.cruizco”,“appActivity”:“com.shiva.cruizco.LoginActivity”,“platformVersion”:“4.4.4”,“appWaitActivity”:“com.shiva.cruizco.LoginActivity”,“platformName”:“Android”,“deviceName”:“device”},“BrowserName”:“”,“appPackage”:“com.cruizco”,“appActivity”:“com.shiva.cruizco.LoginActivity”,“appWaitActivity”:“com.shiva.cruizco.LoginActivity”,“platformName”:“Android”,“deviceName”:“192.168.246.101:5555”},“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: → POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/timeouts {“type”:“implicit”,“ms”:3000}
info: [debug] Set Android implicit wait to 3000ms
info: [debug] Responding to client with success: {“status”:0,“value”:null,“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: ← POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/timeouts 200 6.673 ms - 76 {“status”:0,“value”:null,“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: → POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element {“using”:“id”,“value”:“com.cruizco:id/signup”}
info: [debug] Waiting up to 3000ms for condition
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.cruizco:id/signup”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.cruizco:id/signup”,“context”:“”,“multiple”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.cruizco:id/signup using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.cruizco:id/signup]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:{“ELEMENT”:“1”},“status”:0}
info: [debug] Responding to client with success: {“status”:0,“value”:{“ELEMENT”:“1”},“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: ← POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element 200 4124.012 ms - 87 {“status”:0,“value”:{“ELEMENT”:“1”},“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: → POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element/1/click {“id”:“1”}
info: [debug] Pushing command to appium work queue: [“element:click”,{“elementId”:“1”}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“1”}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:true,“status”:0}
info: [debug] Responding to client with success: {“status”:0,“value”:true,“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: ← POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element/1/click 200 538.546 ms - 76 {“status”:0,“value”:true,“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: → POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element {“using”:“id”,“value”:“com.cruizco:id/signup”}
info: [debug] Waiting up to 3000ms for condition
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.cruizco:id/signup”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.cruizco:id/signup”,“context”:“”,“multiple”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.cruizco:id/signup using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.cruizco:id/signup]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:{“ELEMENT”:“2”},“status”:0}
info: [debug] Responding to client with success: {“status”:0,“value”:{“ELEMENT”:“2”},“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: ← POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element 200 527.614 ms - 87 {“status”:0,“value”:{“ELEMENT”:“2”},“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: → POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element/2/click {“id”:“2”}
info: [debug] Pushing command to appium work queue: [“element:click”,{“elementId”:“2”}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“2”}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:true,“status”:0}
info: [debug] Responding to client with success: {“status”:0,“value”:true,“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: ← POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element/2/click 200 949.634 ms - 76 {“status”:0,“value”:true,“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: → POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element {“using”:“id”,“value”:“com.cruizco:id/firstname”}
info: [debug] Waiting up to 3000ms for condition
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.cruizco:id/firstname”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.cruizco:id/firstname”,“context”:“”,“multiple”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.cruizco:id/firstname using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.cruizco:id/firstname]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:{“ELEMENT”:“3”},“status”:0}
info: [debug] Responding to client with success: {“status”:0,“value”:{“ELEMENT”:“3”},“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: ← POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element 200 496.891 ms - 87 {“status”:0,“value”:{“ELEMENT”:“3”},“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: → POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element/3/value {“id”:“3”,“value”:[“sookte”]}
info: [debug] Pushing command to appium work queue: [“element:setText”,{“elementId”:“3”,“text”:“sookte”,“replace”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“element:setText”,“params”:{“elementId”:“3”,“text”:“sookte”,“replace”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: setText
info: [debug] [BOOTSTRAP] [debug] Using element passed in.
info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
info: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: sookte
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:true,“status”:0}
info: [debug] Responding to client with success: {“status”:0,“value”:true,“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: ← POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element/3/value 200 5570.299 ms - 76 {“status”:0,“value”:true,“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: → POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element {“using”:“id”,“value”:“com.cruizco:id/lastname”}
info: [debug] Waiting up to 3000ms for condition
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.cruizco:id/lastname”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.cruizco:id/lastname”,“context”:“”,“multiple”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.cruizco:id/lastname using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.cruizco:id/lastname]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:{“ELEMENT”:“4”},“status”:0}
info: [debug] Responding to client with success: {“status”:0,“value”:{“ELEMENT”:“4”},“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: ← POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element 200 502.689 ms - 87 {“status”:0,“value”:{“ELEMENT”:“4”},“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: → POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element/4/value {“id”:“4”,“value”:[“lee”]}
info: [debug] Pushing command to appium work queue: [“element:setText”,{“elementId”:“4”,“text”:“lee”,“replace”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“element:setText”,“params”:{“elementId”:“4”,“text”:“lee”,“replace”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: setText
info: [debug] [BOOTSTRAP] [debug] Using element passed in.
info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
info: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: lee
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:true,“status”:0}
info: [debug] Responding to client with success: {“status”:0,“value”:true,“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: ← POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element/4/value 200 5314.474 ms - 76 {“status”:0,“value”:true,“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: → POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element {“using”:“id”,“value”:“com.cruizco:id/addImage”}
info: [debug] Waiting up to 3000ms for condition
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.cruizco:id/addImage”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.cruizco:id/addImage”,“context”:“”,“multiple”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.cruizco:id/addImage using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.cruizco:id/addImage]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:{“ELEMENT”:“5”},“status”:0}
info: [debug] Responding to client with success: {“status”:0,“value”:{“ELEMENT”:“5”},“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: ← POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element 200 513.311 ms - 87 {“status”:0,“value”:{“ELEMENT”:“5”},“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: → POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element/5/click {“id”:“5”}
info: [debug] Pushing command to appium work queue: [“element:click”,{“elementId”:“5”}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“5”}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:true,“status”:0}
info: [debug] Responding to client with success: {“status”:0,“value”:true,“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: ← POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element/5/click 200 575.931 ms - 76 {“status”:0,“value”:true,“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: → POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element {“using”:“xpath”,“value”:“//android.widget.RelativeLayout[@index=‘3’]”}
info: [debug] Waiting up to 3000ms for condition
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:“//android.widget.RelativeLayout[@index=‘3’]”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:“//android.widget.RelativeLayout[@index=‘3’]”,“context”:“”,“multiple”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding //android.widget.RelativeLayout[@index=‘3’] using XPATH with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“Could not find an element using supplied strategy. “,“status”:7}
info: [debug] Waited for 170ms so far
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:”//android.widget.RelativeLayout[@index=‘3’]”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:“//android.widget.RelativeLayout[@index=‘3’]”,“context”:“”,“multiple”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding //android.widget.RelativeLayout[@index=‘3’] using XPATH with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.RelativeLayout, INSTANCE=1]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:{“ELEMENT”:“6”},“status”:0}
info: [debug] Responding to client with success: {“status”:0,“value”:{“ELEMENT”:“6”},“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: ← POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element 200 1205.182 ms - 87 {“status”:0,“value”:{“ELEMENT”:“6”},“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: → POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element/6/click {“id”:“6”}
info: [debug] Pushing command to appium work queue: [“element:click”,{“elementId”:“6”}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“6”}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:true,“status”:0}
info: [debug] Responding to client with success: {“status”:0,“value”:true,“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: ← POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element/6/click 200 601.062 ms - 76 {“status”:0,“value”:true,“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: → POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element {“using”:“xpath”,“value”:“//android.view.View[@index=‘1’]”}
info: [debug] Waiting up to 3000ms for condition
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“xpath”,“selector”:“//android.view.View[@index=‘1’]”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:“//android.view.View[@index=‘1’]”,“context”:“”,“multiple”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding //android.view.View[@index=‘1’] using XPATH with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.view.View, INSTANCE=1]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:{“ELEMENT”:“7”},“status”:0}
info: [debug] Responding to client with success: {“status”:0,“value”:{“ELEMENT”:“7”},“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: ← POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element 200 872.460 ms - 87 {“status”:0,“value”:{“ELEMENT”:“7”},“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: → POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element/7/click {“id”:“7”}
info: [debug] Pushing command to appium work queue: [“element:click”,{“elementId”:“7”}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“7”}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:true,“status”:0}
info: [debug] Responding to client with success: {“status”:0,“value”:true,“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: ← POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element/7/click 200 149.561 ms - 76 {“status”:0,“value”:true,“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: → POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element {“using”:“id”,“value”:“com.cruizco:id/username”}
info: [debug] Waiting up to 3000ms for condition
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.cruizco:id/username”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.cruizco:id/username”,“context”:“”,“multiple”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.cruizco:id/username using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.cruizco:id/username]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.cruizco:id/username using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.cruizco:id/username]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“No element found”,“status”:7}
info: [debug] Waited for 480ms so far
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.cruizco:id/username”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.cruizco:id/username”,“context”:“”,“multiple”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.cruizco:id/username using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.cruizco:id/username]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.cruizco:id/username using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.cruizco:id/username]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“No element found”,“status”:7}
info: [debug] Waited for 1235ms so far
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.cruizco:id/username”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.cruizco:id/username”,“context”:“”,“multiple”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.cruizco:id/username using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.cruizco:id/username]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.cruizco:id/username using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.cruizco:id/username]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“No element found”,“status”:7}
info: [debug] Waited for 2056ms so far
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.cruizco:id/username”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.cruizco:id/username”,“context”:“”,“multiple”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.cruizco:id/username using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.cruizco:id/username]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.cruizco:id/username using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.cruizco:id/username]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“No element found”,“status”:7}
info: [debug] Waited for 2789ms so far
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.cruizco:id/username”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.cruizco:id/username”,“context”:“”,“multiple”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.cruizco:id/username using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.cruizco:id/username]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.cruizco:id/username using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.cruizco:id/username]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“No element found”,“status”:7}
info: [debug] Condition unmet after 3689ms. Timing out.
info: [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”:“No element found”},“sessionId”:“87cb41de-ee99-49c3-8750-3b9de9087cd8”}
info: ← POST /wd/hub/session/87cb41de-ee99-49c3-8750-3b9de9087cd8/element 500 3692.805 ms - 195
info: [debug] Didn’t get a new command in 60 secs, shutting down…
info: Shutting down appium session
info: [debug] Pressing the HOME button
info: [debug] executing cmd: C:\Users\rajbh\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.246.101:5555 shell “input keyevent 3”
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“shutdown”}
info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“OK, shutting down”,“status”:0}
info: [debug] [BOOTSTRAP] [debug] Closed client connection
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [debug] [UIAUTOMATOR STDOUT] Time: 92.223
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] Sent shutdown command, waiting for UiAutomator to stop…
info: [debug] UiAutomator shut down normally
info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: [debug] We shut down because no new commands came in