When trying enter the values in the text, the camera and email app automatically opened.(Marshmallow android version)

public static void main(String[] args) throws MalformedURLException,
InterruptedException {
// Create object of DesiredCapabilities
// class
DesiredCapabilities capabilities = new DesiredCapabilities();

	// Optional
	capabilities.setCapability(CapabilityType.BROWSER_NAME, "");
	// Specify the device name (any name)
	capabilities.setCapability("deviceName", "My New Phone");
	// Platform version
	capabilities.setCapability("platformVersion", "6.0");
	// platform name
	capabilities.setCapability("platformName", "Android");
	// specify the application package that we copied from
	// appium                
	capabilities.setCapability("appPackage", "com.trackx.mobile");
	// specify the application activity that we copied from
	// appium                  
	capabilities.setCapability("appActivity", "com.trackx.mobile.SplashScreen.Splashscreen");


	// Start android driver I used 4727 port by default it will be 4723
	driver = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"),
			capabilities);
	// Specify the implicit wait of 5 second
	driver.manage().timeouts().implicitlyWait(5, TimeUnit.SECONDS);

	// Enter the text in username field
	MobileElement username_tx = (MobileElement)(driver.findElement(By.id("com.trackx.mobile:id/et_login_username")));
	username_tx.sendKeys("Test");
	Thread.sleep(10000);

	MobileElement password_tx = (MobileElement)(driver.findElement(By.id("com.trackx.mobile:id/et_login_password")));
	password_tx.sendKeys("Test");
	Thread.sleep(10000);

	driver.quit();
}

Please find the logs for the reference,

info: → POST /wd/hub/session {“desiredCapabilities”:{“appPackage”:“com.trackx.mobile”,“appActivity”:“com.trackx.mobile.SplashScreen.Splashscreen”,“platformVersion”:“6.0”,“browserName”:“”,“platformName”:“Android”,“deviceName”:“My New Phone”},“requiredCapabilities”:{},“capabilities”:{“desiredCapabilities”:{“appPackage”:“com.trackx.mobile”,“appActivity”:“com.trackx.mobile.SplashScreen.Splashscreen”,“platformVersion”:“6.0”,“browserName”:“”,“platformName”:“Android”,“deviceName”:“My New Phone”},“requiredCapabilities”:{},“alwaysMatch”:{“browserName”:“”,“platformName”:“Android”},“firstMatch”:}}
info: Client User-Agent string: Apache-HttpClient/4.5.3 (Java/1.8.0_131)
info: [debug] Using local app from command line: C:\Users\Balamurugan\Downloads\selendroid-test-app-0.17.0.apk
info: [debug] Creating new appium session ec9d4b5e-3ae2-43f9-8971-96d715b3392b
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.8.0_131
info: [debug] Checking whether adb is present
info: [debug] Using adb from C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe
info: [debug] Using fast reset? true
info: [debug] Preparing device for session
info: [debug] Checking whether app is actually present
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devices…
info: [debug] executing cmd: C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe devices
info: [debug] 1 device(s) connected
info: Found device X41P1816JA025448
info: [debug] Setting device id to X41P1816JA025448
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 wait-for-device
info: [debug] executing cmd: C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 shell “echo ‘ready’”
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 shell “getprop ro.build.version.sdk”
info: [debug] Device is at API Level 23
info: Device API level is: 23
info: [debug] Extracting strings for language: default
info: [debug] executing cmd: C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 shell “getprop persist.sys.language”
info: [debug] Current device persist.sys.language:
info: [debug] java -jar “C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar” “stringsFromApk” “C:\Users\Balamurugan\Downloads\selendroid-test-app-0.17.0.apk” “C:\Users\BALAMU~1\AppData\Local\Temp\com.trackx.mobile”
info: [debug] Reading strings from converted strings.json
info: [debug] Setting language to default
info: [debug] executing cmd: C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 push “C:\Users\BALAMU~1\AppData\Local\Temp\com.trackx.mobile\strings.json” /data/local/tmp
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from C:\Users\Balamurugan\AppData\Local\Android\sdk\build-tools\21.1.2\aapt.exe
info: [debug] Retrieving process from manifest.
info: [debug] executing cmd: C:\Users\Balamurugan\AppData\Local\Android\sdk\build-tools\21.1.2\aapt.exe dump xmltree C:\Users\Balamurugan\Downloads\selendroid-test-app-0.17.0.apk AndroidManifest.xml
info: [debug] Set app process to: com.trackx.mobile
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Checking app cert for C:\Users\Balamurugan\Downloads\selendroid-test-app-0.17.0.apk.
info: [debug] executing cmd: java -jar “C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar” C:\Users\Balamurugan\Downloads\selendroid-test-app-0.17.0.apk
info: [debug] App already signed.
info: [debug] Zip-aligning C:\Users\Balamurugan\Downloads\selendroid-test-app-0.17.0.apk
info: [debug] Checking whether zipalign is present
info: [debug] Using zipalign from C:\Users\Balamurugan\AppData\Local\Android\sdk\build-tools\21.1.2\zipalign.exe
info: [debug] Zip-aligning apk.
info: [debug] executing cmd: C:\Users\Balamurugan\AppData\Local\Android\sdk\build-tools\21.1.2\zipalign.exe -f 4 C:\Users\Balamurugan\Downloads\selendroid-test-app-0.17.0.apk C:\Users\BALAMU~1\AppData\Local\Temp\1171013-1748-1qc4ot7\appium.tmp
info: [debug] MD5 for app is d6d43218105a4e0ccabfb58bb04f24af
info: [debug] executing cmd: C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 shell “ls /data/local/tmp/d6d43218105a4e0ccabfb58bb04f24af.apk”
info: [debug] Getting install status for com.trackx.mobile
info: [debug] Getting device API level
info: [debug] executing cmd: C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 shell “getprop ro.build.version.sdk”
info: [debug] Device is at API Level 23
info: [debug] executing cmd: C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 shell “pm list packages -3 com.trackx.mobile”
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\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 shell “am force-stop com.trackx.mobile”
info: [debug] executing cmd: C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 shell “pm clear com.trackx.mobile”
info: [debug] Forwarding system:4724 to device:4724
info: [debug] executing cmd: C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 forward tcp:4724 tcp:4724
info: [debug] Pushing appium bootstrap to device…
info: [debug] executing cmd: C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 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\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 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\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 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\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 shell “ps ‘uiautomator’”
info: [debug] No matching processes found
info: [debug] Running bootstrap
info: [debug] spawning: C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.trackx.mobile -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] [BOOTSTRAP] [debug] json loading complete.
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] [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] executing cmd: C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 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] [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: C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 shell “getprop ro.build.version.sdk”
info: [debug] Device is at API Level 23
info: [debug] executing cmd: C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 shell “am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.trackx.mobile/com.trackx.mobile.SplashScreen.Splashscreen”
info: [debug] Waiting for pkg “com.trackx.mobile” and activity “com.trackx.mobile.SplashScreen.Splashscreen” to be focused
info: [debug] Getting focused package and activity
info: [debug] executing cmd: C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 shell “dumpsys window windows”
info: [debug] executing cmd: C:\Users\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 shell “getprop ro.build.version.release”
info: [debug] Device is at release version 6.0
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 ec9d4b5e-3ae2-43f9-8971-96d715b3392b
info: ← POST /wd/hub/session 303 12935.441 ms - 74
info: → GET /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“platform”:“LINUX”,“browserName”:“”,“platformVersion”:“6.0”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“appPackage”:“com.trackx.mobile”,“appActivity”:“com.trackx.mobile.SplashScreen.Splashscreen”,“platformVersion”:“6.0”,“browserName”:“”,“platformName”:“Android”,“deviceName”:“My New Phone”},“appPackage”:“com.trackx.mobile”,“appActivity”:“com.trackx.mobile.SplashScreen.Splashscreen”,“platformName”:“Android”,“deviceName”:“X41P1816JA025448”},“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: ← GET /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b 200 1.665 ms - 657 {“status”:0,“value”:{“platform”:“LINUX”,“browserName”:“”,“platformVersion”:“6.0”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“appPackage”:“com.trackx.mobile”,“appActivity”:“com.trackx.mobile.SplashScreen.Splashscreen”,“platformVersion”:“6.0”,“browserName”:“”,“platformName”:“Android”,“deviceName”:“My New Phone”},“appPackage”:“com.trackx.mobile”,“appActivity”:“com.trackx.mobile.SplashScreen.Splashscreen”,“platformName”:“Android”,“deviceName”:“X41P1816JA025448”},“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: → POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/timeouts {“type”:“implicit”,“ms”:5000}
info: [debug] Set Android implicit wait to 5000ms
info: [debug] Responding to client with success: {“status”:0,“value”:null,“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: ← POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/timeouts 200 5.254 ms - 76 {“status”:0,“value”:null,“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: → POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/element {“using”:“id”,“value”:“com.android.packageinstaller:id/permission_allow_button”}
info: [debug] Waiting up to 5000ms for condition
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.android.packageinstaller:id/permission_allow_button”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.android.packageinstaller:id/permission_allow_button”,“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.android.packageinstaller:id/permission_allow_button using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android.packageinstaller:id/permission_allow_button]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“1”}}
info: [debug] Responding to client with success: {“status”:0,“value”:{“ELEMENT”:“1”},“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: ← POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/element 200 27.998 ms - 87 {“status”:0,“value”:{“ELEMENT”:“1”},“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: → POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/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: {“status”:0,“value”:true}
info: [debug] Responding to client with success: {“status”:0,“value”:true,“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: ← POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/element/1/click 200 343.280 ms - 76 {“status”:0,“value”:true,“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: → POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/element {“using”:“id”,“value”:“com.android.packageinstaller:id/permission_allow_button”}
info: [debug] Waiting up to 5000ms for condition
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.android.packageinstaller:id/permission_allow_button”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.android.packageinstaller:id/permission_allow_button”,“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.android.packageinstaller:id/permission_allow_button using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android.packageinstaller:id/permission_allow_button]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“2”}}
info: [debug] Responding to client with success: {“status”:0,“value”:{“ELEMENT”:“2”},“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: ← POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/element 200 12.784 ms - 87 {“status”:0,“value”:{“ELEMENT”:“2”},“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: → POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/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: {“status”:0,“value”:true}
info: [debug] Responding to client with success: {“status”:0,“value”:true,“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: ← POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/element/2/click 200 471.357 ms - 76 {“status”:0,“value”:true,“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: → POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/element {“using”:“id”,“value”:“com.android.packageinstaller:id/permission_allow_button”}
info: [debug] Waiting up to 5000ms for condition
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.android.packageinstaller:id/permission_allow_button”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.android.packageinstaller:id/permission_allow_button”,“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.android.packageinstaller:id/permission_allow_button using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android.packageinstaller:id/permission_allow_button]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“3”}}
info: [debug] Responding to client with success: {“status”:0,“value”:{“ELEMENT”:“3”},“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: ← POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/element 200 26.384 ms - 87 {“status”:0,“value”:{“ELEMENT”:“3”},“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: → POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/element/3/click {“id”:“3”}
info: [debug] Pushing command to appium work queue: [“element:click”,{“elementId”:“3”}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“3”}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:0,“value”:true}
info: [debug] Responding to client with success: {“status”:0,“value”:true,“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: ← POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/element/3/click 200 3120.900 ms - 76 {“status”:0,“value”:true,“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: → POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/element {“using”:“id”,“value”:“com.trackx.mobile:id/et_login_username”}
info: [debug] Waiting up to 5000ms for condition
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_username”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_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.trackx.mobile:id/et_login_username using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_username]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“4”}}
info: [debug] Responding to client with success: {“status”:0,“value”:{“ELEMENT”:“4”},“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: ← POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/element 200 26.107 ms - 87 {“status”:0,“value”:{“ELEMENT”:“4”},“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: → POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/element/4/value {“id”:“4”,“value”:[“Test”]}
info: [debug] Pushing command to appium work queue: [“element:setText”,{“elementId”:“4”,“text”:“Test”,“replace”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“element:setText”,“params”:{“elementId”:“4”,“text”:“Test”,“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] Sending plain text to element: Test
info: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:0,“value”:true}
info: [debug] Responding to client with success: {“status”:0,“value”:true,“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: ← POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/element/4/value 200 5814.316 ms - 76 {“status”:0,“value”:true,“sessionId”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: → POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/element {“using”:“id”,“value”:“com.trackx.mobile:id/et_login_password”}
info: [debug] Waiting up to 5000ms for condition
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“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.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:7,“value”:“No element found”}
info: [debug] Waited for 173ms so far
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“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.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:7,“value”:“No element found”}
info: [debug] Waited for 723ms so far
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“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.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:7,“value”:“No element found”}
info: [debug] Waited for 1279ms so far
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“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.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:7,“value”:“No element found”}
info: [debug] Waited for 1945ms so far
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“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.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:7,“value”:“No element found”}
info: [debug] Waited for 2503ms so far
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“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.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:7,“value”:“No element found”}
info: [debug] Waited for 3052ms so far
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“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.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:7,“value”:“No element found”}
info: [debug] Waited for 3737ms so far
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“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.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:7,“value”:“No element found”}
info: [debug] Waited for 4306ms so far
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“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.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:7,“value”:“No element found”}
info: [debug] Waited for 4958ms so far
info: [debug] Pushing command to appium work queue: [“find”,{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“context”:“”,“multiple”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.trackx.mobile:id/et_login_password”,“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.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.trackx.mobile:id/et_login_password using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.trackx.mobile:id/et_login_password]
info: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:7,“value”:“No element found”}
info: [debug] Condition unmet after 5514ms. 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”:“ec9d4b5e-3ae2-43f9-8971-96d715b3392b”}
info: ← POST /wd/hub/session/ec9d4b5e-3ae2-43f9-8971-96d715b3392b/element 500 5517.067 ms - 195
info: [debug] [BOOTSTRAP] [debug] Emitting system alert message
info: [debug] Emitting alert message…
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\Balamurugan\AppData\Local\Android\sdk\platform-tools\adb.exe -s X41P1816JA025448 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] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [debug] [UIAUTOMATOR STDOUT] Time: 129.095
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