info: â POST /wd/hub/session {âdesiredCapabilitiesâ:{âplatformNameâ:âAndroidâ,âdeviceNameâ:âZX1D64M6BGâ,âVERSIONâ:â5.0.2â,âappActivityâ:âcom.policybazaar.login.Splash_DashBoardâ,âappPackageâ:âcom.policybazaarâ,âBROWSER_NAMEâ:âAndroidâ}}
info: Client User-Agent string: Apache-HttpClient/4.5.1 (Java/1.7.0_71)
info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : VERSION, BROWSER_NAME
info: [debug] Didnât get app but did get Android package, will attempt to launch it on the device
info: [debug] Creating new appium session fc80c7c0-9302-49d1-a8a4-48e538b90236
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.7.0_71
info: [debug] Checking whether adb is present
info: [debug] Using adb from F:\Android\sdk\platform-tools\adb.exe
warn: No app capability, canât parse package/activity
info: [debug] Using fast reset? true
info: [debug] Preparing device for session
info: [debug] Not checking whether app is present since we are assuming itâs already on the device
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devicesâŠ
info: [debug] executing cmd: F:\Android\sdk\platform-tools\adb.exe devices
info: [debug] 1 device(s) connected
info: Found device ZX1D64M6BG
info: [debug] Setting device id to ZX1D64M6BG
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: F:\Android\sdk\platform-tools\adb.exe -s ZX1D64M6BG wait-for-device
info: [debug] executing cmd: F:\Android\sdk\platform-tools\adb.exe -s ZX1D64M6BG shell âecho âreadyââ
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: F:\Android\sdk\platform-tools\adb.exe -s ZX1D64M6BG shell âgetprop ro.build.version.sdkâ
info: [debug] Device is at API Level 21
info: Device API level is: 21
info: [debug] Extracting strings for language: default
info: [debug] Apk doesnât exist locally
info: [debug] Could not get strings, but it looks like we had an old strings file anyway, so ignoring
info: [debug] executing cmd: F:\Android\sdk\platform-tools\adb.exe -s ZX1D64M6BG shell ârm -rf /data/local/tmp/strings.jsonâ
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Skipping install since we launched with a package instead of an app path
info: [debug] Forwarding system:4724 to device:4724
info: [debug] executing cmd: F:\Android\sdk\platform-tools\adb.exe -s ZX1D64M6BG forward tcp:4724 tcp:4724
info: [debug] Pushing appium bootstrap to deviceâŠ
info: [debug] executing cmd: F:\Android\sdk\platform-tools\adb.exe -s ZX1D64M6BG 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: F:\Android\sdk\platform-tools\adb.exe -s ZX1D64M6BG 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: F:\Android\sdk\platform-tools\adb.exe -s ZX1D64M6BG 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: F:\Android\sdk\platform-tools\adb.exe -s ZX1D64M6BG shell âps âuiautomatorââ
info: [debug] No matching processes found
info: [debug] Running bootstrap
info: [debug] spawning: F:\Android\sdk\platform-tools\adb.exe -s ZX1D64M6BG shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.policybazaar -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] Registered crash watchers.
info: [debug] [BOOTSTRAP] [debug] Client connected
info: [debug] executing cmd: F:\Android\sdk\platform-tools\adb.exe -s ZX1D64M6BG shell âdumpsys windowâ
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: {âstatusâ:0,âvalueâ:true}
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] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
info: [debug] [BOOTSTRAP] [debug] Returning result: {âstatusâ:0,âvalueâ:â/data/local/tmpâ}
info: [debug] dataDir set to: /data/local/tmp
info: [debug] Pushing command to appium work queue: [âcompressedLayoutHierarchyâ,{âcompressLayoutâ:false}]
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] [BOOTSTRAP] [debug] Returning result: {âstatusâ:0,âvalueâ:false}
info: [debug] Getting device API level
info: [debug] executing cmd: F:\Android\sdk\platform-tools\adb.exe -s ZX1D64M6BG shell âgetprop ro.build.version.sdkâ
info: [debug] Device is at API Level 21
info: [debug] executing cmd: F:\Android\sdk\platform-tools\adb.exe -s ZX1D64M6BG shell âam start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.policybazaar/com.policybazaar.login.Splash_DashBoardâ
info: [debug] Waiting for pkg âcom.policybazaarâ and activity âcom.policybazaar.login.Splash_DashBoardâ to be focused
info: [debug] Getting focused package and activity
info: [debug] executing cmd: F:\Android\sdk\platform-tools\adb.exe -s ZX1D64M6BG shell âdumpsys window windowsâ
info: [debug] executing cmd: F:\Android\sdk\platform-tools\adb.exe -s ZX1D64M6BG shell âgetprop ro.build.version.releaseâ
info: [debug] Device is at release version 5.0.2
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 fc80c7c0-9302-49d1-a8a4-48e538b90236
info: â POST /wd/hub/session 303 22139.730 ms - 74
info: â GET /wd/hub/session/fc80c7c0-9302-49d1-a8a4-48e538b90236 {}
info: [debug] Responding to client with success: {âstatusâ:0,âvalueâ:{âplatformâ:âLINUXâ,âbrowserNameâ:âAndroidâ,âplatformVersionâ:â5.0.2â,âwebStorageEnabledâ:false,âtakesScreenshotâ:true,âjavascriptEnabledâ:true,âdatabaseEnabledâ:false,ânetworkConnectionEnabledâ:true,âlocationContextEnabledâ:false,âwarningsâ:{},âdesiredâ:{âplatformNameâ:âAndroidâ,âdeviceNameâ:âZX1D64M6BGâ,âVERSIONâ:â5.0.2â,âappActivityâ:âcom.policybazaar.login.Splash_DashBoardâ,âappPackageâ:âcom.policybazaarâ,âBROWSER_NAMEâ:âAndroidâ},âplatformNameâ:âAndroidâ,âdeviceNameâ:âZX1D64M6BGâ,âVERSIONâ:â5.0.2â,âappActivityâ:âcom.policybazaar.login.Splash_DashBoardâ,âappPackageâ:âcom.policybazaarâ,âBROWSER_NAMEâ:âAndroidâ},âsessionIdâ:âfc80c7c0-9302-49d1-a8a4-48e538b90236â}
info: â GET /wd/hub/session/fc80c7c0-9302-49d1-a8a4-48e538b90236 200 0.649 ms - 693 {âstatusâ:0,âvalueâ:{âplatformâ:âLINUXâ,âbrowserNameâ:âAndroidâ,âplatformVersionâ:â5.0.2â,âwebStorageEnabledâ:false,âtakesScreenshotâ:true,âjavascriptEnabledâ:true,âdatabaseEnabledâ:false,ânetworkConnectionEnabledâ:true,âlocationContextEnabledâ:false,âwarningsâ:{},âdesiredâ:{âplatformNameâ:âAndroidâ,âdeviceNameâ:âZX1D64M6BGâ,âVERSIONâ:â5.0.2â,âappActivityâ:âcom.policybazaar.login.Splash_DashBoardâ,âappPackageâ:âcom.policybazaarâ,âBROWSER_NAMEâ:âAndroidâ},âplatformNameâ:âAndroidâ,âdeviceNameâ:âZX1D64M6BGâ,âVERSIONâ:â5.0.2â,âappActivityâ:âcom.policybazaar.login.Splash_DashBoardâ,âappPackageâ:âcom.policybazaarâ,âBROWSER_NAMEâ:âAndroidâ},âsessionIdâ:âfc80c7c0-9302-49d1-a8a4-48e538b90236â}
info: â POST /wd/hub/session/fc80c7c0-9302-49d1-a8a4-48e538b90236/element {âusingâ:âclass nameâ,âvalueâ:âandroid.widget.EditTextâ}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: [âfindâ,{âstrategyâ:âclass nameâ,âselectorâ:âandroid.widget.EditTextâ,âcontextâ:ââ,âmultipleâ:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {âcmdâ:âactionâ,âactionâ:âfindâ,âparamsâ:{âstrategyâ:âclass nameâ,âselectorâ:âandroid.widget.EditTextâ,â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.EditText using CLASS_NAME with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.EditText, INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding android.widget.EditText using CLASS_NAME with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.EditText, INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Returning result: {âstatusâ:7,âvalueâ:âNo element foundâ}
info: [debug] Condition unmet after 1213ms. 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â:âfc80c7c0-9302-49d1-a8a4-48e538b90236â}
info: â POST /wd/hub/session/fc80c7c0-9302-49d1-a8a4-48e538b90236/element 500 1219.030 ms - 195
info: â DELETE /wd/hub/session/fc80c7c0-9302-49d1-a8a4-48e538b90236 {}
info: Shutting down appium session
info: [debug] Pressing the HOME button
info: [debug] executing cmd: F:\Android\sdk\platform-tools\adb.exe -s ZX1D64M6BG 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: {âstatusâ:0,âvalueâ:âOK, shutting downâ}
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] Sent shutdown command, waiting for UiAutomator to stopâŠ
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [debug] [UIAUTOMATOR STDOUT] Time: 6.459
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] UiAutomator shut down normally
info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: [debug] Responding to client with success: {âstatusâ:0,âvalueâ:null,âsessionIdâ:âfc80c7c0-9302-49d1-a8a4-48e538b90236â}
info: â DELETE /wd/hub/session/fc80c7c0-9302-49d1-a8a4-48e538b90236 200 1138.804 ms - 76 {âstatusâ:0,âvalueâ:null,âsessionIdâ:âfc80c7c0-9302-49d1-a8a4-48e538b90236â}