Driver is starting a browser activity but switches back to app automatically. Hence, i am unable to perform any operation in the browser

I have a scenario:
a). Start an app and perform some tasks. (Let’s say A).
b). Switch to the browser and perform some tasks here. (Let’s say Chrome).
c). Switch back to the same app and continue working on it. (app A)

For me, a is working fine.
When I start any browser, it’s activity starts but it navigates back to the application. Hence, I am unable to perform any on the browser.

Please help me!
Thanks.
@yadsandy @Aleksei @VolodymyrGlushkov @ravikr42 @willosser
@Raveendar_Reddy @Free_Automation

1 Like
  1. what task you need to perform in browser?
  2. maybe you can start browser on machine where your tests are running but not mobile device?

@jitenderbhardwaj, can you provide some details?

How are you starting the browser? What does the server log have to say about the actions?

Hi @willosser,

I am using AndroidDriver driver.startActivity(appPackage, appActivity) to start chrome.
Lemme explain you what’s happening step by step.
This is the case if i am using chrome:

@Test(priority = '1')
public void signUp()
{
......
}

@Test(priority ='2')
public void chromeActivity() throws InterruptedException
	{
		//String appPackage= ("com.uc.browser.en");
		String appPackage= ("com.android.chrome");
		//String appActivity=("com.uc.browser.ActivityBrowser");
		String appActivity=("org.chromium.chrome.browser.ChromeTabbedActivity");
		driver.startActivity(appPackage, appActivity);
		Thread.sleep(5000);
		String cont= driver.getContext();
		System.out.println(cont);
		driver.context("WEBVIEW_1");
		driver.get("yopmail.com");
		driver.pressKeyCode(187);
		driver.findElement(By.name("Text To Ticket")).click();
		String contex = driver.getContext();
		System.out.println(contex);
	}

@Test(priority='3')
Public void aftrVrificatn()
{
......
}

This is my script.

Here is what my console says:

[TestNG] Running:
C:\Users\dEmOn\AppData\Local\Temp\testng-eclipse--2045305339\testng-customsuite.xml
Login
PASSED: signUp
PASSED: logIn
FAILED: chromeActivity
org.openqa.selenium.WebDriverException: Unable to launch the app: Error: Permission to start activity denied. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 901 milliseconds
Build info: version: '2.48.2', revision: '41bccdd', time: '2015-10-09 19:55:52'
System info: host: 'dEvIl-PC', ip: '192.168.43.107', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_66'
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities [{app=F:\Appium Related\rhythm\workspace\TextToTicket\apk\text to ticket local.apk, networkConnectionEnabled=true, warnings={}, databaseEnabled=false, deviceName=B0F10702428205GT, platform=LINUX, desired={app=F:\Appium Related\rhythm\workspace\TextToTicket\apk\text to ticket local.apk, platformVersion=4.4.2, platformName=Android, deviceName=Fire}, platformVersion=4.4.4, webStorageEnabled=false, locationContextEnabled=false, browserName=Android, takesScreenshot=true, javascriptEnabled=true, platformName=Android}]
Session ID: 4a741427-a0cf-46c3-b058-dd3c4df155df
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:647)
	at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
	at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
	at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
	at io.appium.java_client.CommandExecutionHelper.execute(CommandExecutionHelper.java:27)
	at io.appium.java_client.android.StartsActivity.startActivity(StartsActivity.java:113)
	at io.appium.java_client.android.StartsActivity.startActivity(StartsActivity.java:65)
	at com.ttt.TextTicket.chromeActivity(TextTicket.java:77)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
	at org.testng.TestRunner.privateRun(TestRunner.java:773)
	at org.testng.TestRunner.run(TestRunner.java:623)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
	at org.testng.SuiteRunner.run(SuiteRunner.java:259)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
	at org.testng.TestNG.run(TestNG.java:1018)
	at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132)
	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:236)
	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:81)


===============================================
    Default test
    Tests run: 3, Failures: 1, Skips: 0
===============================================


===============================================
Default suite
Total tests run: 3, Failures: 1, Skips: 0
===============================================

[TestNG] Time taken by [email protected]: 204 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 15 ms
[TestNG] Time taken by [email protected]: 69 ms
[TestNG] Time taken by [email protected]: 16 ms
[TestNG] Time taken by [email protected]: 16 ms
[TestNG] Time taken by [email protected]: 215 ms

And here is the server log:

> info: --> POST /wd/hub/session {"desiredCapabilities":{"app":"F:\\Appium Related\\rhythm\\workspace\\TextToTicket\\apk\\text to ticket local.apk","platformName":"Android","deviceName":"Fire","platformVersion":"4.4.2"}}
> info: Client User-Agent string: Apache-HttpClient/4.5.1 (Java/1.8.0_66)
> info: [debug] No appActivity desired capability or server param. Parsing from apk.
> info: [debug] No appPackage desired capability or server param. Parsing from apk.
> info: [debug] Using local app from desired caps: F:\Appium Related\rhythm\workspace\TextToTicket\apk\text to ticket local.apk
> info: [debug] Creating new appium session 4a741427-a0cf-46c3-b058-dd3c4df155df
> info: Starting android appium
> info: [debug] Getting Java version
> info: Java version is: 1.8.0_66
> info: [debug] Checking whether adb is present
> info: [debug] Using adb from F:\Appium Related\rhythm\sdk\tools\adb.exe
> info: [debug] Parsing package and activity from app manifest
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from F:\Appium Related\rhythm\sdk\build-tools\android-4.3\aapt.exe
> info: [debug] Extracting package and launch activity from manifest.
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\build-tools\android-4.3\aapt.exe" dump badging "F:\Appium Related\rhythm\workspace\TextToTicket\apk\text to ticket local.apk"
> info: [debug] badging package: com.xamarin.texttoticketfinal
> info: [debug] badging act: md52e8d228ad7d94111bda0e47bc6d37f0b.SplashScreen
> info: [debug] Parsed package and activity are: com.xamarin.texttoticketfinal/md52e8d228ad7d94111bda0e47bc6d37f0b.SplashScreen
> 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: "F:\Appium Related\rhythm\sdk\tools\adb.exe" devices
> info: [debug] 1 device(s) connected
> info: Found device B0F10702428205GT
> info: [debug] Setting device id to B0F10702428205GT
> info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT wait-for-device
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT shell "echo 'ready'"
> info: [debug] Starting logcat capture
> info: [debug] Getting device API level
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 19
> info: Device API level is: 19
> info: [debug] Extracting strings for language: default
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT 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" "F:\Appium Related\rhythm\workspace\TextToTicket\apk\text to ticket local.apk" "C:\Users\dEmOn\AppData\Local\Temp\com.xamarin.texttoticketfinal" 
> info: [debug] Reading strings from converted strings.json
> info: [debug] Setting language to default
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT push "C:\\Users\\dEmOn\\AppData\\Local\\Temp\\com.xamarin.texttoticketfinal\\strings.json" /data/local/tmp
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from F:\Appium Related\rhythm\sdk\build-tools\android-4.3\aapt.exe
> info: [debug] Retrieving process from manifest.
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\build-tools\android-4.3\aapt.exe" dump xmltree "F:\Appium Related\rhythm\workspace\TextToTicket\apk\text to ticket local.apk" AndroidManifest.xml
> info: [debug] Set app process to: com.xamarin.texttoticketfinal
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Checking app cert for F:\Appium Related\rhythm\workspace\TextToTicket\apk\text to ticket local.apk.
> info: [debug] executing cmd: java -jar "C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar" "F:\Appium Related\rhythm\workspace\TextToTicket\apk\text to ticket local.apk"
> info: [debug] App already signed.
> info: [debug] Zip-aligning F:\Appium Related\rhythm\workspace\TextToTicket\apk\text to ticket local.apk
> info: [debug] Checking whether zipalign is present
> info: [debug] Using zipalign from F:\Appium Related\rhythm\sdk\tools\zipalign.exe
> info: [debug] Zip-aligning apk.
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\zipalign.exe" -f 4 "F:\Appium Related\rhythm\workspace\TextToTicket\apk\text to ticket local.apk" C:\Users\dEmOn\AppData\Local\Temp\117619-8452-11jbigw\appium.tmp
> info: [debug] MD5 for app is c009ed3bf19c4dc594ae177b2fd5d04f
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT shell "ls /data/local/tmp/c009ed3bf19c4dc594ae177b2fd5d04f.apk"
> info: [debug] Getting install status for com.xamarin.texttoticketfinal
> info: [debug] Getting device API level
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 19
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT shell "pm list packages -3 com.xamarin.texttoticketfinal"
> info: [debug] App is installed
> info: App is already installed, resetting app
> info: [debug] Running fast reset (stop and clear)
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT shell "am force-stop com.xamarin.texttoticketfinal"
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT shell "pm clear com.xamarin.texttoticketfinal"
> info: [debug] Forwarding system:4724 to device:4724
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT forward tcp:4724 tcp:4724
> info: [debug] Pushing appium bootstrap to device...
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT 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:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT 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:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT 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:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT shell "ps 'uiautomator'"
> info: [debug] No matching processes found
> info: [debug] Running bootstrap
> info: [debug] spawning: F:\Appium Related\rhythm\sdk\tools\adb.exe -s B0F10702428205GT shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.xamarin.texttoticketfinal -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: {"value":true,"status":0}
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT 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: {"value":"\/data\/local\/tmp","status":0}
> 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] Getting device API level
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT shell "getprop ro.build.version.sdk"
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":false,"status":0}
> info: [debug] Device is at API Level 19
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.xamarin.texttoticketfinal/md52e8d228ad7d94111bda0e47bc6d37f0b.SplashScreen"
> info: [debug] Waiting for pkg "com.xamarin.texttoticketfinal" and activity "md52e8d228ad7d94111bda0e47bc6d37f0b.SplashScreen" to be focused
> info: [debug] Getting focused package and activity
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT shell "dumpsys window windows"
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT shell "getprop ro.build.version.release"
> info: [debug] Device is at release version 4.4.4
> info: [debug] Device launched! Ready for commands
> info: [debug] Setting command timeout to the default of 60 secs
> info: [debug] Appium session started with sessionId 4a741427-a0cf-46c3-b058-dd3c4df155df
> info: <-- POST /wd/hub/session 303 9907.029 ms - 74 
> info: --> GET /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df {}
> info: [debug] Responding to client with success: {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"4.4.4","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"app":"F:\\Appium Related\\rhythm\\workspace\\TextToTicket\\apk\\text to ticket local.apk","platformName":"Android","deviceName":"Fire","platformVersion":"4.4.2"},"app":"F:\\Appium Related\\rhythm\\workspace\\TextToTicket\\apk\\text to ticket local.apk","platformName":"Android","deviceName":"B0F10702428205GT"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- GET /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df 200 7.059 ms - 639 {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"4.4.4","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"app":"F:\\Appium Related\\rhythm\\workspace\\TextToTicket\\apk\\text to ticket local.apk","platformName":"Android","deviceName":"Fire","platformVersion":"4.4.2"},"app":"F:\\Appium Related\\rhythm\\workspace\\TextToTicket\\apk\\text to ticket local.apk","platformName":"Android","deviceName":"B0F10702428205GT"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> GET /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df {}
> info: [debug] Responding to client with success: {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"4.4.4","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"app":"F:\\Appium Related\\rhythm\\workspace\\TextToTicket\\apk\\text to ticket local.apk","platformName":"Android","deviceName":"Fire","platformVersion":"4.4.2"},"app":"F:\\Appium Related\\rhythm\\workspace\\TextToTicket\\apk\\text to ticket local.apk","platformName":"Android","deviceName":"B0F10702428205GT"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- GET /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df 200 1.872 ms - 639 {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"4.4.4","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"app":"F:\\Appium Related\\rhythm\\workspace\\TextToTicket\\apk\\text to ticket local.apk","platformName":"Android","deviceName":"Fire","platformVersion":"4.4.2"},"app":"F:\\Appium Related\\rhythm\\workspace\\TextToTicket\\apk\\text to ticket local.apk","platformName":"Android","deviceName":"B0F10702428205GT"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> GET /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df {}
> info: [debug] Responding to client with success: {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"4.4.4","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"app":"F:\\Appium Related\\rhythm\\workspace\\TextToTicket\\apk\\text to ticket local.apk","platformName":"Android","deviceName":"Fire","platformVersion":"4.4.2"},"app":"F:\\Appium Related\\rhythm\\workspace\\TextToTicket\\apk\\text to ticket local.apk","platformName":"Android","deviceName":"B0F10702428205GT"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- GET /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df 200 0.917 ms - 639 {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"4.4.4","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"app":"F:\\Appium Related\\rhythm\\workspace\\TextToTicket\\apk\\text to ticket local.apk","platformName":"Android","deviceName":"Fire","platformVersion":"4.4.2"},"app":"F:\\Appium Related\\rhythm\\workspace\\TextToTicket\\apk\\text to ticket local.apk","platformName":"Android","deviceName":"B0F10702428205GT"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/SignUp_btn"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/SignUp_btn","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/SignUp_btn","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.xamarin.texttoticketfinal:id/SignUp_btn using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/SignUp_btn]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"1"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"1"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 3607.254 ms - 87 {"status":0,"value":{"ELEMENT":"1"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/1/click {"id":"1"}
> info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"1"}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: click
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/1/click 200 750.173 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/edt_name"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edt_name","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edt_name","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.xamarin.texttoticketfinal:id/edt_name using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/edt_name]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"2"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"2"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 607.677 ms - 87 {"status":0,"value":{"ELEMENT":"2"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/2/value {"id":"2","value":["Test"]}
> info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"2","text":"Test","replace":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"2","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] Text remains after clearing, but it appears to be hint text.
> info: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
> info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: Test
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/2/value 200 5727.271 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/edt_lastname"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edt_lastname","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edt_lastname","context":"","multiple":false}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: find
> info: [debug] [BOOTSTRAP] [debug] Finding com.xamarin.texttoticketfinal:id/edt_lastname using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/edt_lastname]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"3"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"3"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 503.939 ms - 87 {"status":0,"value":{"ELEMENT":"3"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/3/value {"id":"3","value":["User"]}
> info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"3","text":"User","replace":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"3","text":"User","replace":false}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: setText
> info: [debug] [BOOTSTRAP] [debug] Using element passed in.
> info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
> info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
> info: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
> info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: User
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/3/value 200 6495.189 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/edt_gender"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edt_gender","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edt_gender","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.xamarin.texttoticketfinal:id/edt_gender using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/edt_gender]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"4"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"4"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 516.807 ms - 87 {"status":0,"value":{"ELEMENT":"4"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/4/click {"id":"4"}
> info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"4"}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"4"}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: click
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/4/click 200 337.667 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/camera_txt"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/camera_txt","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/camera_txt","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.xamarin.texttoticketfinal:id/camera_txt using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/camera_txt]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"5"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"5"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 494.187 ms - 87 {"status":0,"value":{"ELEMENT":"5"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/5/click {"id":"5"}
> info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"5"}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"5"}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: click
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/5/click 200 3605.568 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/edt_calendar"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edt_calendar","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edt_calendar","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.xamarin.texttoticketfinal:id/edt_calendar using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/edt_calendar]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"6"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"6"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 32.195 ms - 87 {"status":0,"value":{"ELEMENT":"6"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/6/click {"id":"6"}
> info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"6"}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"6"}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: click
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/6/click 200 636.827 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"xpath","value":"//android.widget.NumberPicker[@index='0']"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//android.widget.NumberPicker[@index='0']","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.NumberPicker[@index='0']","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.NumberPicker[@index='0'] using XPATH with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.NumberPicker, INSTANCE=0]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"7"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"7"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 641.728 ms - 87 {"status":0,"value":{"ELEMENT":"7"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/7/value {"id":"7","value":["Aug"]}
> info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"7","text":"Aug","replace":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"7","text":"Aug","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: Aug
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/7/value 200 5336.712 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"xpath","value":"//android.widget.NumberPicker[@index='1']"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//android.widget.NumberPicker[@index='1']","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.NumberPicker[@index='1']","context":"","multiple":false}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: find
> info: [debug] [BOOTSTRAP] [debug] Finding //android.widget.NumberPicker[@index='1'] using XPATH with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.NumberPicker, INSTANCE=1]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"8"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"8"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 68.702 ms - 87 {"status":0,"value":{"ELEMENT":"8"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/8/value {"id":"8","value":["25"]}
> info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"8","text":"25","replace":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"8","text":"25","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: 25
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/8/value 200 5012.959 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"xpath","value":"//android.widget.NumberPicker[@index='2']"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//android.widget.NumberPicker[@index='2']","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.NumberPicker[@index='2']","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.NumberPicker[@index='2'] using XPATH with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.NumberPicker, INSTANCE=2]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"9"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"9"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 102.465 ms - 87 {"status":0,"value":{"ELEMENT":"9"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/9/value {"id":"9","value":["2000"]}
> info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"9","text":"2000","replace":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"9","text":"2000","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: 2000
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/9/value 200 5451.457 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"xpath","value":"//android.widget.NumberPicker[@index='2']"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//android.widget.NumberPicker[@index='2']","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.NumberPicker[@index='2']","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.NumberPicker[@index='2'] using XPATH with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.NumberPicker, INSTANCE=2]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"10"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"10"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 544.314 ms - 88 {"status":0,"value":{"ELEMENT":"10"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/10/click {"id":"10"}
> info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"10"}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"10"}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: click
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/10/click 200 598.582 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"android:id/button1"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"android:id/button1","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"android:id/button1","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:id/button1 using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=android:id/button1]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"11"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"11"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 32.966 ms - 88 {"status":0,"value":{"ELEMENT":"11"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/11/click {"id":"11"}
> info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"11"}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"11"}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: click
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/11/click 200 555.872 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/edt_phone"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edt_phone","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edt_phone","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.xamarin.texttoticketfinal:id/edt_phone using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/edt_phone]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"12"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"12"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 418.756 ms - 88 {"status":0,"value":{"ELEMENT":"12"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/12/value {"id":"12","value":["1234567890"]}
> info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"12","text":"1234567890","replace":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"12","text":"1234567890","replace":false}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: setText
> info: [debug] [BOOTSTRAP] [debug] Using element passed in.
> info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
> info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
> info: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
> info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: 1234567890
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/12/value 200 6084.572 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/edt_email"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edt_email","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edt_email","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.xamarin.texttoticketfinal:id/edt_email using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/edt_email]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"13"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"13"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 495.231 ms - 88 {"status":0,"value":{"ELEMENT":"13"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/13/value {"id":"13","value":["[email protected]"]}
> info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"13","text":"[email protected]","replace":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"13","text":"[email protected]","replace":false}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: setText
> info: [debug] [BOOTSTRAP] [debug] Using element passed in.
> info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
> info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
> info: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
> info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: [email protected]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/13/value 200 7078.512 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/edt_password"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edt_password","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edt_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.xamarin.texttoticketfinal:id/edt_password using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/edt_password]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"14"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"14"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 518.720 ms - 88 {"status":0,"value":{"ELEMENT":"14"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/14/value {"id":"14","value":["123456"]}
> info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"14","text":"123456","replace":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"14","text":"123456","replace":false}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: setText
> info: [debug] [BOOTSTRAP] [debug] Using element passed in.
> info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
> info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
> info: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
> info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: 123456
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/14/value 200 6798.419 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/edt_confirm_password"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edt_confirm_password","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edt_confirm_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.xamarin.texttoticketfinal:id/edt_confirm_password using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/edt_confirm_password]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"15"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"15"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 492.190 ms - 88 {"status":0,"value":{"ELEMENT":"15"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/15/value {"id":"15","value":["123456"]}
> info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"15","text":"123456","replace":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"15","text":"123456","replace":false}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: setText
> info: [debug] [BOOTSTRAP] [debug] Using element passed in.
> info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
> info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
> info: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
> info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: 123456
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/15/value 200 6479.687 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/btnSignup"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/btnSignup","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/btnSignup","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.xamarin.texttoticketfinal:id/btnSignup using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/btnSignup]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"16"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"16"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 476.047 ms - 88 {"status":0,"value":{"ELEMENT":"16"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/16/click {"id":"16"}
> info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"16"}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"16"}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: click
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/16/click 200 688.895 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/login_btn"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/login_btn","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/login_btn","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.xamarin.texttoticketfinal:id/login_btn using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/login_btn]
> info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
> info: [debug] [BOOTSTRAP] [debug] Finding com.xamarin.texttoticketfinal:id/login_btn using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/login_btn]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"No element found","status":7}
> info: [debug] Condition unmet after 963ms. 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":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 500 984.263 ms - 195 
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/login_btn"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/login_btn","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/login_btn","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.xamarin.texttoticketfinal:id/login_btn using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/login_btn]
> info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
> info: [debug] [BOOTSTRAP] [debug] Finding com.xamarin.texttoticketfinal:id/login_btn using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/login_btn]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"No element found","status":7}
> info: [debug] Condition unmet after 16ms. 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":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 500 19.182 ms - 195 
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/login_btn"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/login_btn","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/login_btn","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.xamarin.texttoticketfinal:id/login_btn using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/login_btn]
> info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
> info: [debug] [BOOTSTRAP] [debug] Finding com.xamarin.texttoticketfinal:id/login_btn using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/login_btn]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"No element found","status":7}
> info: [debug] Condition unmet after 17ms. 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":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 500 20.896 ms - 195 
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/login_btn"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/login_btn","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/login_btn","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.xamarin.texttoticketfinal:id/login_btn using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/login_btn]
> info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
> info: [debug] [BOOTSTRAP] [debug] Finding com.xamarin.texttoticketfinal:id/login_btn using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/login_btn]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"No element found","status":7}
> info: [debug] Condition unmet after 357ms. 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":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 500 354.664 ms - 195 
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/login_btn"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/login_btn","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/login_btn","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.xamarin.texttoticketfinal:id/login_btn using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/login_btn]
> info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
> info: [debug] [BOOTSTRAP] [debug] Finding com.xamarin.texttoticketfinal:id/login_btn using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/login_btn]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"No element found","status":7}
> info: [debug] Condition unmet after 78ms. 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":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 500 76.117 ms - 195 
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/login_btn"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/login_btn","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/login_btn","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.xamarin.texttoticketfinal:id/login_btn using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/login_btn]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"17"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"17"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 283.824 ms - 88 {"status":0,"value":{"ELEMENT":"17"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> GET /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/17/displayed {}
> info: [debug] Pushing command to appium work queue: ["element:getAttribute",{"elementId":"17","attribute":"displayed"}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"elementId":"17","attribute":"displayed"}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: getAttribute
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"true","status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- GET /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/17/displayed 200 514.620 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> GET /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/17/enabled {}
> info: [debug] Pushing command to appium work queue: ["element:getAttribute",{"elementId":"17","attribute":"enabled"}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"elementId":"17","attribute":"enabled"}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: getAttribute
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"true","status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- GET /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/17/enabled 200 286.964 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/login_btn"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/login_btn","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/login_btn","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.xamarin.texttoticketfinal:id/login_btn using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/login_btn]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"18"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"18"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 19.056 ms - 88 {"status":0,"value":{"ELEMENT":"18"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> GET /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/18/text {}
> info: [debug] Pushing command to appium work queue: ["element:getText",{"elementId":"18"}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:getText","params":{"elementId":"18"}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: getText
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"Login","status":0}
> info: [debug] Responding to client with success: {"status":0,"value":"Login","sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- GET /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/18/text 200 33.862 ms - 79 {"status":0,"value":"Login","sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/appium/device/start_activity {"appPackage":"com.android.chrome","appActivity":"org.chromium.chrome.browser.ChromeTabbedActivity","appWaitPackage":"","appWaitActivity":"","dontStopAppOnReset":false,"intentAction":"","intentCategory":"","intentFlags":"","optionalIntentArguments":""}
> info: [debug] Getting device API level
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 19
> info: [debug] executing cmd: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT shell "am start -S -n com.android.chrome/org.chromium.chrome.browser.ChromeTabbedActivity"
> error: Permission to start activity denied.
> info: [debug] Responding to client with error: {"status":1,"value":{"message":"Unable to launch the app: Error: Permission to start activity denied."},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/appium/device/start_activity 500 893.606 ms - 155 
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/edtEmail"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edtEmail","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edtEmail","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.xamarin.texttoticketfinal:id/edtEmail using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/edtEmail]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"19"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"19"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 50.463 ms - 88 {"status":0,"value":{"ELEMENT":"19"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/19/clear {"id":"19"}
> info: [debug] Pushing command to appium work queue: ["element:clear",{"elementId":"19"}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:clear","params":{"elementId":"19"}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: clear
> info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
> info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/19/clear 200 3575.833 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/19/value {"id":"19","value":["[email protected]"]}
> info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"19","text":"[email protected]","replace":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"19","text":"[email protected]","replace":false}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: setText
> info: [debug] [BOOTSTRAP] [debug] Using element passed in.
> info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
> info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
> info: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
> info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: [email protected]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/19/value 200 5591.271 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/edtPassword"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edtPassword","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/edtPassword","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.xamarin.texttoticketfinal:id/edtPassword using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/edtPassword]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"20"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"20"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 532.841 ms - 88 {"status":0,"value":{"ELEMENT":"20"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/20/clear {"id":"20"}
> info: [debug] Pushing command to appium work queue: ["element:clear",{"elementId":"20"}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:clear","params":{"elementId":"20"}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: clear
> info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
> info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/20/clear 200 3696.786 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/20/value {"id":"20","value":["123456"]}
> info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"20","text":"123456","replace":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"20","text":"123456","replace":false}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: setText
> info: [debug] [BOOTSTRAP] [debug] Using element passed in.
> info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
> info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
> info: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
> info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: 123456
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/20/value 200 5460.340 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element {"using":"id","value":"com.xamarin.texttoticketfinal:id/login_btn"}
> info: [debug] Waiting up to 0ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/login_btn","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.xamarin.texttoticketfinal:id/login_btn","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.xamarin.texttoticketfinal:id/login_btn using ID with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xamarin.texttoticketfinal:id/login_btn]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"21"},"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"21"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element 200 649.179 ms - 88 {"status":0,"value":{"ELEMENT":"21"},"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: --> POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/21/click {"id":"21"}
> info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"21"}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"21"}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: click
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> info: <-- POST /wd/hub/session/4a741427-a0cf-46c3-b058-dd3c4df155df/element/21/click 200 475.762 ms - 76 {"status":0,"value":true,"sessionId":"4a741427-a0cf-46c3-b058-dd3c4df155df"}
> 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: "F:\Appium Related\rhythm\sdk\tools\adb.exe" -s B0F10702428205GT shell "input keyevent 3"
> info: [debug] Stopping logcat capture
> info: [debug] Logcat terminated with code null, signal SIGTERM
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"shutdown"}
> info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"OK, shutting down","status":0}
> info: [debug] [BOOTSTRAP] [debug] Closed client connection
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
> info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
> info: [debug] [UIAUTOMATOR STDOUT] Time: 172.431
> 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

if you really want to start Chrome in a way you wrote the easiest code is:

        driver.quit(); // need to quit from current driver. it will cause your app on phone to close.
        
        // now opening new driver
        DesiredCapabilities capabilities = null;
        capabilities = DesiredCapabilities.android();
        capabilities.setCapability(MobileCapabilityType.AUTOMATION_NAME, AutomationName.APPIUM);
        capabilities.setCapability(MobileCapabilityType.BROWSER_NAME, "Chrome");
        capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "Android");
        capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, MobilePlatform.ANDROID);
        capabilities.setCapability(MobileCapabilityType.FULL_RESET, false);
        capabilities.setCapability(MobileCapabilityType.NO_RESET, true);
        String baseURL = "http://0.0.0.0:";
        String minorURL = "/wd/hub";
        String port = "4725";
        try {
            driver = new AndroidDriver<>(new URL(baseURL + port + minorURL), capabilities);
        } catch (Exception e) {
            e.printStackTrace();
        }

BUT i suggest to move this into your driver start e.g. beforeMethod (with testNG)

This is not related to the failure to start chrome, but I have to wonder why you are sending the app_switcher keycode.

In your server log, I see the following:
adb.exe -s B0F10702428205GT shell “am start -S -n com.android.chrome/org.chromium.chrome.browser.ChromeTabbedActivity”

This is how Appium interprets what you asked it to start. I would verify you can run this command manually and see if it works. If not, you’ve given bad parameters adb and it’s not appium’s fault.

ALternately, you can use Aleksei’s suggestion which abstracts the call to Chrome, making certain you don’t need to know the exact activity

@willosser @Aleksei
Thanks. I succeeded by using what @Aleksei suggested.
Now one more question. I’ve quit the first driver and opened chrome with the second driver. Now I need to switch back to the same app and the same activity. How should I do it?
Do I need to start a third driver?

@willosser I am using this keycode(187) to switch back to my native app.
This is a scenario like:
A–>B
B–>A
Here, A is my AUT and B is chrome. I am using chrome just to verify the account.
I know that this is not a good way to get it done but I tried it in this way.
Please suggest me what should be done here?

I’m going to hope @Aleksei can answer this. Restarting the driver is something I would expect is needed on iOS but not something I would do on Android.

@jitenderbhardwaj why you need to verify account with mobile browser? it is 10 times faster to check email, get link from it and make call to confirm email using any other way available.

Thanks a ton @Aleksei @willosser.
I resolved my issue. Now I don’t need to quit from the first driver and can continue my test with a single driver.
The issue was that my chrome driver wasn’t updated.
After updating it I can switch app by using driver.switchActivity();

@jitenderbhardwaj just wonder where does switchActivity() came from? :slight_smile: e.g. it is absent in “io.appium.java_client.android”

@Aleksei
Check out this link: The new "Start Activity" feature in Appium 1.2.3

@jitenderbhardwaj ok i made it :slight_smile: with startActivity. the problem that we use WRONG! activity name :frowning:

the bad news is that startActivity() does not allow you to change “appWaitActivity”. so code that working and switching between chrome and app using “depricated” BUT not removed yet call:

        ((AndroidDriver) driver).startActivity(
                "com.android.chrome",
                "com.google.android.apps.chrome.Main",
                "com.android.chrome",
                "org.chromium.chrome.browser.ChromeTabbedActivity",
                "android.intent.action.MAIN",
                "android.intent.category.LAUNCHER",
                "",
                null,
                false);
        sleep(10);
        // navigate to some url
        ((AndroidElement) driver.findElement(MobileBy.id("com.android.chrome:id/url_bar"))).setValue("www.delfi.ee");
        ((AndroidDriver) driver).pressKeyCode(AndroidKeyCode.ENTER);
        try {driver.runAppInBackground(Duration.ofSeconds(1));}catch (Exception e) {}
        sleep(100);

// sleep is just Thread.sleep()

added - https://github.com/appium/appium/issues/8886

@Aleksei
There is one more thing I wanna work out on:

  1. We started the driver and launched some application.
  2. In the middle of our test we started a new activity using driver.startActivity.
  3. Now, can we resume the first app which we launched using driver??

It is in mine code above. Runappinbackground will do.

@Aleksei I want to pause this application until I finish with the second app. So, can’t mention the time.

Is there any work around for this?
And one more thing Runappinbackground is not resuming app it is starting from the beginning.

@jitenderbhardwaj i do not understand you :-). let see mine scenarior how i see your case. correct steps where i am wrong:

  1. you starting app_1 normally with driver
  2. you open browser with mentioned StartActivity. Bowser in front. App_1 in background.
  3. you navigate in a way i wrote or whatever to some url in browser
  4. you check something in browser
  5. now you decide return your app_1 from background to foreground. you user runappinbackgound(1) which will point to app that using driver when it started. it is app_1. and thus your app_1 brings into foreground.
1 Like

I have to thank you a lot. You saved my life this weekend, with this brilliant solution. I researched a lot, so many different explains, suggestions and even guessing, but your solution was the only one that worked. Thanks, so deeply thanks.