2016-10-27

Here is my code:
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("browserName", "");
capabilities.setCapability("automationName", "Appium");
capabilities.setCapability("platformName", "Android");
capabilities.setCapability("platformVersion", "");
capabilities.setCapability("deviceName", "XYZ123");
capabilities.setCapability("appPackage", "XXX")
capabilities.setCapability("appActivity","YYY");

By webView = By.className("android.webkit.WebView");
WebDriverWait wait = new WebDriverWait(bp.driver,300);
wait.until(ExpectedConditions.visibilityOfElementLocated(webView));

First Appium error log:
Service node.exe not exist
Service adb.exe exist and killed
e[36minfoe[39m: Welcome to Appium v1.4.16 (REV ae6877eff263066b26328d457bd285c0cc62430d)
e[36minfoe[39m: Appium REST http interface listener started on 0.0.0.0:4723
e[36minfoe[39m: [debug] Non-default server args: {"log":"D:\Share Path\Sakthi\WS\LCOMobile-frameworkproject\src\main\resources\androidLog.txt"}
e[36minfoe[39m: Console LogLevel: debug
e[36minfoe[39m: File LogLevel: debug
e[36minfoe[39m: e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/statuse[39m e[90m{}e[39m
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.16","revision":"ae6877eff263066b26328d457bd285c0cc62430d"}}}
e[36minfoe[39m: e[37m<-- GET /wd/hub/status e[39me[32m200e[39me[90m 10.940 ms - 105e[39m e[90m{"status":0,"value":{"build":{"version":"1.4.16","revision":"ae6877eff263066b26328d457bd285c0cc62430d"}}}e[39m
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
e[36minfoe[39m: e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m e[90m{"desiredCapabilities":{"appPackage":"com.lexi.android","appActivity":"com.lexi.android.core.activity.HomeActivity","platformVersion":"","automationName":"Appium","browserName":"","platformName":"Android","deviceName":"CVH7N16612001364"}}e[39m
e[36minfoe[39m: Client User-Agent string: Apache-HttpClient/4.5.2 (Java/1.8.0_60)
e[36minfoe[39m: [debug] Didn't get app but did get Android package, will attempt to launch it on the device
e[36minfoe[39m: [debug] Creating new appium session fd71eeef-9ac8-4647-b60c-8a2e13e3bda3
e[36minfoe[39m: Starting android appium
e[36minfoe[39m: [debug] Getting Java version
e[36minfoe[39m: Java version is: 1.8.0_60
e[36minfoe[39m: [debug] Checking whether adb is present
e[36minfoe[39m: [debug] Using adb from D:\AndroidSDK\platform-tools\adb.exe
e[33mwarne[39m: No app capability, can't parse package/activity
e[36minfoe[39m: [debug] Using fast reset? true
e[36minfoe[39m: [debug] Preparing device for session
e[36minfoe[39m: [debug] Not checking whether app is present since we are assuming it's already on the device
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:\AndroidSDK\platform-tools\adb.exe devices
e[36minfoe[39m: [debug] 1 device(s) connected
e[36minfoe[39m: Found device CVH7N16612001364
e[36minfoe[39m: [debug] Setting device id to CVH7N16612001364
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:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 wait-for-device
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "echo 'ready'"
e[36minfoe[39m: [debug] Starting logcat capture
e[36minfoe[39m: [debug] Getting device API level
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "getprop ro.build.version.sdk"
e[36minfoe[39m: [debug] Device is at API Level 23
e[36minfoe[39m: Device API level is: 23
e[36minfoe[39m: [debug] Extracting strings for language: default
e[36minfoe[39m: [debug] Apk doesn't exist locally
e[36minfoe[39m: [debug] Could not get strings, but it looks like we had an old strings file anyway, so ignoring
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "rm -rf /data/local/tmp/strings.json"
e[36minfoe[39m: [debug] Not uninstalling app since server not started with --full-reset
e[36minfoe[39m: [debug] Skipping install since we launched with a package instead of an app path
e[36minfoe[39m: [debug] Forwarding system:4724 to device:4724
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 forward tcp:4724 tcp:4724
e[36minfoe[39m: [debug] Pushing appium bootstrap to device...
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 push "C:\Program Files (x86)\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:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 install "C:\Program Files (x86)\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:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 install "C:\Program Files (x86)\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:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "ps 'uiautomator'"
e[36minfoe[39m: [debug] No matching processes found
e[36minfoe[39m: [debug] Running bootstrap
e[36minfoe[39m: [debug] spawning: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.lexi.android -e disableAndroidWatchers false
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1e[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: id=UiAutomatorTestRunnere[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServere[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: current=1e[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] [BOOTSTRAP] [debug] Loading json...
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
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] 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] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "dumpsys window"
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
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] dataDir set to: /data/local/tmp
e[36minfoe[39m: [debug] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}]
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: {"status":0,"value":"\/data\/local\/tmp"}
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: {"status":0,"value":false}
e[36minfoe[39m: [debug] Getting device API level
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "getprop ro.build.version.sdk"
e[36minfoe[39m: [debug] Device is at API Level 23
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.lexi.android/com.lexi.android.core.activity.HomeActivity"
e[36minfoe[39m: [debug] Waiting for pkg "com.lexi.android" and activity "com.lexi.android.core.activity.HomeActivity" to be focused
e[36minfoe[39m: [debug] Getting focused package and activity
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "dumpsys window windows"
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "getprop ro.build.version.release"
e[36minfoe[39m: [debug] Device is at release version 6.0.1
e[36minfoe[39m: [debug] Device launched! Ready for commands
e[36minfoe[39m: [debug] Setting command timeout to the default of 60 secs
e[36minfoe[39m: [debug] Appium session started with sessionId fd71eeef-9ac8-4647-b60c-8a2e13e3bda3
e[36minfoe[39m: e[37m<-- POST /wd/hub/session e[39me[36m303e[39me[90m 9357.063 ms - 74e[39m e[90me[39m
e[36minfoe[39m: e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3e[39m e[90m{}e[39m
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":{"platform":"LINUX","browserName":"","platformVersion":"6.0.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.lexi.android","appActivity":"com.lexi.android.core.activity.HomeActivity","platformVersion":"","automationName":"Appium","browserName":"","platformName":"Android","deviceName":"CVH7N16612001364"},"appPackage":"com.lexi.android","appActivity":"com.lexi.android.core.activity.HomeActivity","automationName":"Appium","platformName":"Android","deviceName":"CVH7N16612001364"},"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}
e[36minfoe[39m: e[37m<-- GET /wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3 e[39me[32m200e[39me[90m 2.474 ms - 710e[39m e[90m{"status":0,"value":{"platform":"LINUX","browserName":"","platformVersion":"6.0.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.lexi.android","appActivity":"com.lexi.android.core.activity.HomeActivity","platformVersion":"","automationName":"Appium","browserName":"","platformName":"Android","deviceName":"CVH7N16612001364"},"appPackage":"com.lexi.android","appActivity":"com.lexi.android.core.activity.HomeActivity","automationName":"Appium","platformName":"Android","deviceName":"CVH7N16612001364"},"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}e[39m
e[36minfoe[39m: e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/elemente[39m e[90m{"using":"xpath","value":"//android.widget.TextView[@text='Calc']"}e[39m
e[36minfoe[39m: [debug] Waiting up to 0ms for condition
e[36minfoe[39m: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//android.widget.TextView[@text='Calc']","context":"","multiple":false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.TextView[@text='Calc']","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.TextView[@text='Calc'] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=3]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"1"},"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/element e[39me[32m200e[39me[90m 430.354 ms - 87e[39m e[90m{"status":0,"value":{"ELEMENT":"1"},"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}e[39m
e[36minfoe[39m: e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/element/1/clicke[39m e[90m{"id":"1"}e[39m
e[36minfoe[39m: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"1"}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: click
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/element/1/click e[39me[32m200e[39me[90m 341.969 ms - 76e[39m e[90m{"status":0,"value":true,"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}e[39m
e[36minfoe[39m: e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/elemente[39m e[90m{"using":"id","value":"com.lexi.android:id/search_src_text"}e[39m
e[36minfoe[39m: [debug] Waiting up to 0ms for condition
e[36minfoe[39m: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.lexi.android:id/search_src_text","context":"","multiple":false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.lexi.android:id/search_src_text","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 com.lexi.android:id/search_src_text using ID with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.lexi.android:id/search_src_text]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}}
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"2"},"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/element e[39me[32m200e[39me[90m 707.282 ms - 87e[39m e[90m{"status":0,"value":{"ELEMENT":"2"},"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}e[39m
e[36minfoe[39m: e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/element/2/valuee[39m e[90m{"id":"2","value":["Adult"]}e[39m
e[36minfoe[39m: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"2","text":"Adult","replace":false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"2","text":"Adult","replace":false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: setText
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Using element passed in.
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Sending plain text to element: Adult
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/element/2/value e[39me[32m200e[39me[90m 4924.736 ms - 76e[39m e[90m{"status":0,"value":true,"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}e[39m
e[36minfoe[39m: e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/elemente[39m e[90m{"using":"xpath","value":"//android.widget.TextView[@text='Advanced Life Support: Adult']"}e[39m
e[36minfoe[39m: [debug] Waiting up to 0ms for condition
e[36minfoe[39m: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//android.widget.TextView[@text='Advanced Life Support: Adult']","context":"","multiple":false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.TextView[@text='Advanced Life Support: Adult']","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.TextView[@text='Advanced Life Support: Adult'] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=6]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Finding //android.widget.TextView[@text='Advanced Life Support: Adult'] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=2]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"3"}}
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"3"},"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/element e[39me[32m200e[39me[90m 688.213 ms - 87e[39m e[90m{"status":0,"value":{"ELEMENT":"3"},"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}e[39m
e[36minfoe[39m: e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/element/3/clicke[39m e[90m{"id":"3"}e[39m
e[36minfoe[39m: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"3"}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: click
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/element/3/click e[39me[32m200e[39me[90m 141.084 ms - 76e[39m e[90m{"status":0,"value":true,"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}e[39m
e[36minfoe[39m: e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/elemente[39m e[90m{"using":"class name","value":"android.webkit.WebView"}e[39m
e[36minfoe[39m: [debug] Waiting up to 0ms for condition
e[36minfoe[39m: [debug] Pushing command to appium work queue: ["find",{"strategy":"class name","selector":"android.webkit.WebView","context":"","multiple":false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"class name","selector":"android.webkit.WebView","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.webkit.WebView using CLASS_NAME with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.webkit.WebView, INSTANCE=0]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"4"}}
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"4"},"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/element e[39me[32m200e[39me[90m 1268.377 ms - 87e[39m e[90m{"status":0,"value":{"ELEMENT":"4"},"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}e[39m
e[36minfoe[39m: e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/element/4/displayede[39m e[90m{}e[39m
e[36minfoe[39m: [debug] Pushing command to appium work queue: ["element:getAttribute",{"elementId":"4","attribute":"displayed"}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"elementId":"4","attribute":"displayed"}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: getAttribute
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"true"}
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}
e[36minfoe[39m: e[37m<-- GET /wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/element/4/displayed e[39me[32m200e[39me[90m 507.486 ms - 76e[39m e[90m{"status":0,"value":true,"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}e[39m
e[36minfoe[39m: e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/contextse[39m e[90m{}e[39m
e[36minfoe[39m: [debug] Getting a list of available webviews
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "cat /proc/net/unix"
e[36minfoe[39m: [debug] WEBVIEW_3331 mapped to pid 3331
e[36minfoe[39m: [debug] Getting process name for webview
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "ps"
e[36minfoe[39m: [debug] Parsed pid: 3331 pkg: undefined
e[36minfoe[39m: [debug] from: u0_a196,3331,525,1133808,108428,0000000000,R,com.lexi.android
e[36minfoe[39m: [debug] returning process name: undefined
e[36minfoe[39m: [debug] Available contexts:
e[36minfoe[39m: [debug] ["WEBVIEW_undefined"]
e[36minfoe[39m: [debug] Available contexts: NATIVE_APP,WEBVIEW_undefined
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":["NATIVE_APP","WEBVIEW_undefined"],"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}
e[36minfoe[39m: e[37m<-- GET /wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/contexts e[39me[32m200e[39me[90m 250.268 ms - 106e[39m e[90m{"status":0,"value":["NATIVE_APP","WEBVIEW_undefined"],"sessionId":"fd71eeef-9ac8-4647-b60c-8a2e13e3bda3"}e[39m
Total No of Context Found After we reach to WebView = 2
Context Name is WEBVIEW_undefined
e[36minfoe[39m: e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/fd71eeef-9ac8-4647-b60c-8a2e13e3bda3/contexte[39m e[90m{"name":"WEBVIEW_undefined"}e[39m
e[36minfoe[39m: [debug] Getting a list of available webviews
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "cat /proc/net/unix"
e[36minfoe[39m: [debug] WEBVIEW_3331 mapped to pid 3331
e[36minfoe[39m: [debug] Getting process name for webview
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "ps"
e[36minfoe[39m: [debug] Parsed pid: 3331 pkg: undefined
e[36minfoe[39m: [debug] from: u0_a196,3331,525,1130252,104940,0000000000,R,com.lexi.android
e[36minfoe[39m: [debug] returning process name: undefined
e[36minfoe[39m: [debug] Available contexts: NATIVE_APP,WEBVIEW_undefined
e[36minfoe[39m: [debug] ["WEBVIEW_undefined"]
e[36minfoe[39m: [debug] Available contexts: NATIVE_APP,WEBVIEW_undefined
e[36minfoe[39m: [debug] Connecting to chrome-backed webview
e[36minfoe[39m: Chromedriver: Changed state to 'starting'
e[36minfoe[39m: Chromedriver: Set chromedriver binary as: C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe
e[36minfoe[39m: Chromedriver: Killing any old chromedrivers, running: FOR /F "usebackq tokens=5" %a in (netstat -nao ^| findstr /R /C:"9515 ") do (FOR /F "usebackq" %b in (TASKLIST /FI "PID eq %a" ^| findstr /I chromedriver.exe) do (IF NOT %b=="" TASKKILL /F /PID %a))
e[36minfoe[39m: Chromedriver: No old chromedrivers seemed to exist
e[36minfoe[39m: Chromedriver: Spawning chromedriver with: C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe --url-base=wd/hub --port=9515
e[36minfoe[39m: Chromedriver: [STDOUT] Starting ChromeDriver 2.18.343845 (73dd713ba7fbfb73cbb514e62641d8c96a94682a) on port 9515
Only local connections are allowed.
e[36minfoe[39m: JSONWP Proxy: Proxying [GET /status] to [GET http://127.0.0.1:9515/wd/hub/status] with no body
e[36minfoe[39m: JSONWP Proxy: Got response with status 200: "{\"sessionId\":\"\",\"status\":0,\"value\":{\"build\":{\"version\":\"alpha\"},\"os\":{\"arch\":\"x86_64\",\"name\":\"Windows NT\",\"version\":\"6.1 SP1\"}}}"
e[36minfoe[39m: JSONWP Proxy: Proxying [POST /session] to [POST http://127.0.0.1:9515/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.lexi.android","androidUseRunningApp":true,"androidDeviceSerial":"CVH7N16612001364"}}}
e[36minfoe[39m: JSONWP Proxy: Got response with status 200: {"sessionId":"67d6d1e598baabab7e01e89ba6ca9927","status":13,"value":{"message":"unknown error: Device CVH7N16612001364 is not online\n (Driver info: chromedriver=2.18.343845 (73dd713ba7fbfb73cbb51...
e[36minfoe[39m: JSONWP Proxy: Proxying [POST /session] to [POST http://127.0.0.1:9515/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.lexi.android","androidUseRunningApp":true,"androidDeviceSerial":"CVH7N16612001364"}}}
e[36minfoe[39m: JSONWP Proxy: Got response with status 200: {"sessionId":"3391745046f4fe8e7949b0f6c8bd9858","status":13,"value":{"message":"unknown error: Device CVH7N16612001364 is not online\n (Driver info: chromedriver=2.18.343845 (73dd713ba7fbfb73cbb51...
e[36minfoe[39m: JSONWP Proxy: Proxying [POST /session] to [POST http://127.0.0.1:9515/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.lexi.android","androidUseRunningApp":true,"androidDeviceSerial":"CVH7N16612001364"}}}
e[36minfoe[39m: JSONWP Proxy: Got response with status 200: {"sessionId":"c2f37423a63077a8bacebb98b9443e8f","status":33,"value":{"message":"session not created exception\nfrom unknown error: Runtime.executionContextCreated has invalid 'context': {\"auxData...
e[36minfoe[39m: JSONWP Proxy: Proxying [POST /session] to [POST http://127.0.0.1:9515/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.lexi.android","androidUseRunningApp":true,"androidDeviceSerial":"CVH7N16612001364"}}}
e[36minfoe[39m: JSONWP Proxy: Got response with status 200: {"sessionId":"5e68ea7a91755969fe11e307395fc639","status":13,"value":{"message":"unknown error: Device CVH7N16612001364 is not online\n (Driver info: chromedriver=2.18.343845 (73dd713ba7fbfb73cbb51...
e[31merrore[39m: Chromedriver: Chromedriver exited unexpectedly with code null, signal SIGTERM
e[36minfoe[39m: Chromedriver: Changed state to 'stopped'
e[33mwarne[39m: Chromedriver for context WEBVIEW_undefined stopped unexpectedly
e[33mwarne[39m: Chromedriver quit unexpectedly, but it wasn't the active context, ignoring
e[31merrore[39m: Chromedriver: Error: An unknown server-side error occurred while processing the command. (Original error: unknown error: Device CVH7N16612001364 is not online
(Driver info: chromedriver=2.18.343845 (73dd713ba7fbfb73cbb514e62641d8c96a94682a),platform=Windows NT 6.1 SP1 x86_64))
at JWProxy.command$ (lib/proxy.js:133:15)
at tryCatch (C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-chromedriver\node_modules\appium-jsonwp-proxy\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as invoke] (C:\Program Files (x86)\Appium\nodemodules\appium\node_modules\appium-chromedriver\node_modules\appium-jsonwp-proxy\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-chromedriver\node_modules\appium-jsonwp-proxy\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-chromedriver\node_modules\appium-jsonwp-proxy\node_modules\babel-runtime\regenerator\runtime.js:136:37)
at bound (domain.js:284:14)
at GeneratorFunctionPrototype.runBound (domain.js:297:12)
at run (C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-chromedriver\node_modules\appium-jsonwp-proxy\node_modules\babel-runtime\node_modules\core-js\library\modules\es6.promise.js:89:39)
at C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-chromedriver\node_modules\appium-jsonwp-proxy\node_modules\babel-runtime\node_modules\core-js\library\modules\es6.promise.js:100:28
at flush (C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-chromedriver\node_modules\appium-jsonwp-proxy\node_modules\babel-runtime\node_modules\core-js\library\modules\$.microtask.js:17:13)
at process._tickDomainCallback (node.js:381:11)
{ [Error: An unknown server-side error occurred while processing the command. (Original error: unknown error: Device CVH7N16612001364 is not online
(Driver info: chromedriver=2.18.343845 (73dd713ba7fbfb73cbb514e62641d8c96a94682a),platform=Windows NT 6.1 SP1 x86_64))]
status: 13,
value: { message: 'unknown error: Device CVH7N16612001364 is not online\n (Driver info: chromedriver=2.18.343845 (73dd713ba7fbfb73cbb514e62641d8c96a94682a),platform=Windows NT 6.1 SP1 x86_64)' },
httpCode: 200 }
e[36minfoe[39m: [debug] Didn't get a new command in 60 secs, shutting down...
e[36minfoe[39m: Shutting down appium session
e[36minfoe[39m: [debug] Pressing the HOME button
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "input keyevent 3"
e[36minfoe[39m: [debug] Stopping logcat capture
e[36minfoe[39m: [debug] Logcat terminated with code null, signal SIGTERM
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"shutdown"}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Closed client connection
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunnere[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServere[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: current=1e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0e[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=.e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] Time: 71.605e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] OK (1 test)e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1e[39m
e[36minfoe[39m: [debug] Sent shutdown command, waiting for UiAutomator to stop...
e[36minfoe[39m: [debug] UiAutomator shut down normally
e[36minfoe[39m: [debug] Cleaning up android objects
e[36minfoe[39m: [debug] Cleaning up appium session
e[36minfoe[39m: [debug] We shut down because no new commands came in

Second Appium error log:
Service node.exe not exist
Service adb.exe exist and killed
e[36minfoe[39m: Welcome to Appium v1.4.16 (REV ae6877eff263066b26328d457bd285c0cc62430d)
e[36minfoe[39m: Appium REST http interface listener started on 0.0.0.0:4723
e[36minfoe[39m: [debug] Non-default server args: {"log":"D:\Share Path\Sakthi\WS\LCOMobile-frameworkproject\src\main\resources\androidLog.txt"}
e[36minfoe[39m: Console LogLevel: debug
e[36minfoe[39m: File LogLevel: debug
e[36minfoe[39m: e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/statuse[39m e[90m{}e[39m
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.16","revision":"ae6877eff263066b26328d457bd285c0cc62430d"}}}
e[36minfoe[39m: e[37m<-- GET /wd/hub/status e[39me[32m200e[39me[90m 7.855 ms - 105e[39m e[90m{"status":0,"value":{"build":{"version":"1.4.16","revision":"ae6877eff263066b26328d457bd285c0cc62430d"}}}e[39m
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
e[36minfoe[39m: e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m e[90m{"desiredCapabilities":{"appPackage":"com.lexi.android","appActivity":"com.lexi.android.core.activity.HomeActivity","platformVersion":"","automationName":"Appium","browserName":"","platformName":"Android","deviceName":"CVH7N16612001364"}}e[39m
e[36minfoe[39m: Client User-Agent string: Apache-HttpClient/4.5.2 (Java/1.8.0_60)
e[36minfoe[39m: [debug] Didn't get app but did get Android package, will attempt to launch it on the device
e[36minfoe[39m: [debug] Creating new appium session ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd
e[36minfoe[39m: Starting android appium
e[36minfoe[39m: [debug] Getting Java version
e[36minfoe[39m: Java version is: 1.8.0_60
e[36minfoe[39m: [debug] Checking whether adb is present
e[36minfoe[39m: [debug] Using adb from D:\AndroidSDK\platform-tools\adb.exe
e[33mwarne[39m: No app capability, can't parse package/activity
e[36minfoe[39m: [debug] Using fast reset? true
e[36minfoe[39m: [debug] Preparing device for session
e[36minfoe[39m: [debug] Not checking whether app is present since we are assuming it's already on the device
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:\AndroidSDK\platform-tools\adb.exe devices
e[36minfoe[39m: [debug] 1 device(s) connected
e[36minfoe[39m: Found device CVH7N16612001364
e[36minfoe[39m: [debug] Setting device id to CVH7N16612001364
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:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 wait-for-device
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "echo 'ready'"
e[36minfoe[39m: [debug] Starting logcat capture
e[36minfoe[39m: [debug] Getting device API level
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "getprop ro.build.version.sdk"
e[36minfoe[39m: [debug] Device is at API Level 23
e[36minfoe[39m: Device API level is: 23
e[36minfoe[39m: [debug] Extracting strings for language: default
e[36minfoe[39m: [debug] Apk doesn't exist locally
e[36minfoe[39m: [debug] Could not get strings, but it looks like we had an old strings file anyway, so ignoring
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "rm -rf /data/local/tmp/strings.json"
e[36minfoe[39m: [debug] Not uninstalling app since server not started with --full-reset
e[36minfoe[39m: [debug] Skipping install since we launched with a package instead of an app path
e[36minfoe[39m: [debug] Forwarding system:4724 to device:4724
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 forward tcp:4724 tcp:4724
e[36minfoe[39m: [debug] Pushing appium bootstrap to device...
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 push "C:\Program Files (x86)\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:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 install "C:\Program Files (x86)\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:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 install "C:\Program Files (x86)\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:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "ps 'uiautomator'"
e[36minfoe[39m: [debug] No matching processes found
e[36minfoe[39m: [debug] Running bootstrap
e[36minfoe[39m: [debug] spawning: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.lexi.android -e disableAndroidWatchers false
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1e[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: id=UiAutomatorTestRunnere[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServere[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: current=1e[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] [BOOTSTRAP] [debug] Loading json...
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
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] Client connected
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"wake","params":{}}
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "dumpsys window"
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: {"status":0,"value":true}
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] dataDir set to: /data/local/tmp
e[36minfoe[39m: [debug] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}]
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: {"status":0,"value":"\/data\/local\/tmp"}
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: {"status":0,"value":false}
e[36minfoe[39m: [debug] Getting device API level
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "getprop ro.build.version.sdk"
e[36minfoe[39m: [debug] Device is at API Level 23
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.lexi.android/com.lexi.android.core.activity.HomeActivity"
e[36minfoe[39m: [debug] Waiting for pkg "com.lexi.android" and activity "com.lexi.android.core.activity.HomeActivity" to be focused
e[36minfoe[39m: [debug] Getting focused package and activity
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "dumpsys window windows"
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "getprop ro.build.version.release"
e[36minfoe[39m: [debug] Device is at release version 6.0.1
e[36minfoe[39m: [debug] Device launched! Ready for commands
e[36minfoe[39m: [debug] Setting command timeout to the default of 60 secs
e[36minfoe[39m: [debug] Appium session started with sessionId ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd
e[36minfoe[39m: e[37m<-- POST /wd/hub/session e[39me[36m303e[39me[90m 9627.311 ms - 74e[39m e[90me[39m
e[36minfoe[39m: e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bde[39m e[90m{}e[39m
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":{"platform":"LINUX","browserName":"","platformVersion":"6.0.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.lexi.android","appActivity":"com.lexi.android.core.activity.HomeActivity","platformVersion":"","automationName":"Appium","browserName":"","platformName":"Android","deviceName":"CVH7N16612001364"},"appPackage":"com.lexi.android","appActivity":"com.lexi.android.core.activity.HomeActivity","automationName":"Appium","platformName":"Android","deviceName":"CVH7N16612001364"},"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}
e[36minfoe[39m: e[37m<-- GET /wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd e[39me[32m200e[39me[90m 2.505 ms - 710e[39m e[90m{"status":0,"value":{"platform":"LINUX","browserName":"","platformVersion":"6.0.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.lexi.android","appActivity":"com.lexi.android.core.activity.HomeActivity","platformVersion":"","automationName":"Appium","browserName":"","platformName":"Android","deviceName":"CVH7N16612001364"},"appPackage":"com.lexi.android","appActivity":"com.lexi.android.core.activity.HomeActivity","automationName":"Appium","platformName":"Android","deviceName":"CVH7N16612001364"},"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}e[39m
e[36minfoe[39m: e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/elemente[39m e[90m{"using":"xpath","value":"//android.widget.TextView[@text='Calc']"}e[39m
e[36minfoe[39m: [debug] Waiting up to 0ms for condition
e[36minfoe[39m: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//android.widget.TextView[@text='Calc']","context":"","multiple":false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.TextView[@text='Calc']","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.TextView[@text='Calc'] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=3]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"1"},"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/element e[39me[32m200e[39me[90m 425.315 ms - 87e[39m e[90m{"status":0,"value":{"ELEMENT":"1"},"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}e[39m
e[36minfoe[39m: e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/element/1/clicke[39m e[90m{"id":"1"}e[39m
e[36minfoe[39m: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"1"}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: click
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/element/1/click e[39me[32m200e[39me[90m 359.499 ms - 76e[39m e[90m{"status":0,"value":true,"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}e[39m
e[36minfoe[39m: e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/elemente[39m e[90m{"using":"id","value":"com.lexi.android:id/search_src_text"}e[39m
e[36minfoe[39m: [debug] Waiting up to 0ms for condition
e[36minfoe[39m: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.lexi.android:id/search_src_text","context":"","multiple":false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.lexi.android:id/search_src_text","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 com.lexi.android:id/search_src_text using ID with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.lexi.android:id/search_src_text]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}}
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"2"},"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/element e[39me[32m200e[39me[90m 700.933 ms - 87e[39m e[90m{"status":0,"value":{"ELEMENT":"2"},"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}e[39m
e[36minfoe[39m: e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/element/2/valuee[39m e[90m{"id":"2","value":["Adult"]}e[39m
e[36minfoe[39m: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"2","text":"Adult","replace":false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"2","text":"Adult","replace":false}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: setText
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Using element passed in.
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Sending plain text to element: Adult
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/element/2/value e[39me[32m200e[39me[90m 4845.132 ms - 76e[39m e[90m{"status":0,"value":true,"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}e[39m
e[36minfoe[39m: e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/elemente[39m e[90m{"using":"xpath","value":"//android.widget.TextView[@text='Advanced Life Support: Adult']"}e[39m
e[36minfoe[39m: [debug] Waiting up to 0ms for condition
e[36minfoe[39m: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//android.widget.TextView[@text='Advanced Life Support: Adult']","context":"","multiple":false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.TextView[@text='Advanced Life Support: Adult']","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.TextView[@text='Advanced Life Support: Adult'] using XPATH with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=2]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"3"}}
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"3"},"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/element e[39me[32m200e[39me[90m 627.868 ms - 87e[39m e[90m{"status":0,"value":{"ELEMENT":"3"},"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}e[39m
e[36minfoe[39m: e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/element/3/clicke[39m e[90m{"id":"3"}e[39m
e[36minfoe[39m: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"3"}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: click
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/element/3/click e[39me[32m200e[39me[90m 160.043 ms - 76e[39m e[90m{"status":0,"value":true,"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}e[39m
e[36minfoe[39m: e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/elemente[39m e[90m{"using":"class name","value":"android.webkit.WebView"}e[39m
e[36minfoe[39m: [debug] Waiting up to 0ms for condition
e[36minfoe[39m: [debug] Pushing command to appium work queue: ["find",{"strategy":"class name","selector":"android.webkit.WebView","context":"","multiple":false}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"class name","selector":"android.webkit.WebView","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.webkit.WebView using CLASS_NAME with the contextId: multiple: false
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.webkit.WebView, INSTANCE=0]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"4"}}
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"4"},"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/element e[39me[32m200e[39me[90m 1150.562 ms - 87e[39m e[90m{"status":0,"value":{"ELEMENT":"4"},"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}e[39m
e[36minfoe[39m: e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/element/4/displayede[39m e[90m{}e[39m
e[36minfoe[39m: [debug] Pushing command to appium work queue: ["element:getAttribute",{"elementId":"4","attribute":"displayed"}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"elementId":"4","attribute":"displayed"}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: getAttribute
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"true"}
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}
e[36minfoe[39m: e[37m<-- GET /wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/element/4/displayed e[39me[32m200e[39me[90m 505.383 ms - 76e[39m e[90m{"status":0,"value":true,"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}e[39m
e[36minfoe[39m: e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/contextse[39m e[90m{}e[39m
e[36minfoe[39m: [debug] Getting a list of available webviews
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "cat /proc/net/unix"
e[36minfoe[39m: [debug] WEBVIEW_3684 mapped to pid 3684
e[36minfoe[39m: [debug] Getting process name for webview
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "ps"
e[36minfoe[39m: [debug] Parsed pid: 3684 pkg: com.lexi.android
e[36minfoe[39m: [debug] from: u0_a196,3684,525,1134812,108064,SyS_epoll_,0000000000,S,com.lexi.android
e[36minfoe[39m: [debug] returning process name: com.lexi.android
e[36minfoe[39m: [debug] Available contexts:
e[36minfoe[39m: [debug] ["WEBVIEW_com.lexi.android"]
e[36minfoe[39m: [debug] Available contexts: NATIVE_APP,WEBVIEW_com.lexi.android
e[36minfoe[39m: [debug] Responding to client with success: {"status":0,"value":["NATIVE_APP","WEBVIEW_com.lexi.android"],"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}
e[36minfoe[39m: e[37m<-- GET /wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/contexts e[39me[32m200e[39me[90m 238.148 ms - 113e[39m e[90m{"status":0,"value":["NATIVE_APP","WEBVIEW_com.lexi.android"],"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}e[39m
Total No of Context Found After we reach to WebView = 2
Context Name is WEBVIEW_com.lexi.android
e[36minfoe[39m: e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/contexte[39m e[90m{"name":"WEBVIEW_com.lexi.android"}e[39m
e[36minfoe[39m: [debug] Getting a list of available webviews
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "cat /proc/net/unix"
e[36minfoe[39m: [debug] WEBVIEW_3684 mapped to pid 3684
e[36minfoe[39m: [debug] Getting process name for webview
e[36minfoe[39m: [debug] executing cmd: D:\AndroidSDK\platform-tools\adb.exe -s CVH7N16612001364 shell "ps"
e[36minfoe[39m: [debug] Parsed pid: 3684 pkg: undefined
e[36minfoe[39m: [debug] from: u0_a196,3684,525,1134812,108068,0000000000,R,com.lexi.android
e[36minfoe[39m: [debug] returning process name: undefined
e[36minfoe[39m: [debug] Available contexts: NATIVE_APP,WEBVIEW_com.lexi.android
e[36minfoe[39m: [debug] ["WEBVIEW_undefined"]
e[36minfoe[39m: [debug] Available contexts: NATIVE_APP,WEBVIEW_undefined
e[36minfoe[39m: [debug] Responding to client with error: {"status":35,"value":{"message":"No such context found.","origValue":"Context 'WEBVIEW_com.lexi.android' does not exist"},"sessionId":"ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd"}
e[36minfoe[39m: e[37m<-- POST /wd/hub/session/ce5d7636-3096-43c6-a34b-bf4e6c8ce2bd/context e[39me[31m500e[39me[90m 230.796 ms - 173e[39m e[90me[39m

Could any one tell what is exact issue going with Appium. Now i could not reproduce the first appium error log. Why is it so inconsistent? Please help and guide me on this issue. Thanks!

Show more