Script is not working in device with Marshmallow - 6.01

I need to work on android device with 6.0.1 - Marshmallow version, but my script is not working same script is working with android 4.4.2 version, can anyone tell, what can be issue. also how can i download low end appium version(other than latest)

It’s nigh impossible to help you with your problem without information describing the failure you are encounter, along with log output.

Hi Willosser,

I am sharing script and logs as below -

public class LaunchApp extends UiAutomatorTestCase {

public static void main(String[] args) throws MalformedURLException, InterruptedException {
	
	DesiredCapabilities capabilites  = new DesiredCapabilities();
	
	capabilites.setCapability(CapabilityType.BROWSER_NAME, "");
	capabilites.setCapability("automationName", "Appium");
	capabilites.setCapability("platformName", "Android");
	capabilites.setCapability("platformVersion", "6.0.1");
	capabilites.setCapability("deviceName", "57da3ec0"); 
	capabilites.setCapability("app", "C:\\Users\\ASHUTOSH\\Downloads\\selendroid-test-app-0.17.0.apk");
	capabilites.setCapability("appPackage", "io.selendroid.testapp");
	capabilites.setCapability("appActivity", "io.selendroid.testapp.HomeScreenActivity");
	
	@SuppressWarnings("rawtypes")
	AndroidDriver driver = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilites);
	Thread.sleep(3000);
    
	driver.findElement(By.xpath("//android.widget.Button[@index='1']")).click();

System.out.println(“App launched successfully”);
}

}


0.17.0.apk",“appPackage”:“io.selendroid.testapp”,“appActivity”:“io.selendroid.testapp.HomeScreenActivity”,“platformVersion”:“6.0.1”,“automationName”:“Appium”,“browserName”:"",“platformName”:“Android”,“deviceName”:“57da3ec0”,“deviceUDID”:“57da3ec0”,“deviceScreenSize”:“1080x1920”,“deviceModel”:“Redmi Note 3”,“deviceManufacturer”:“Xiaomi”}
[HTTP] <-- GET /wd/hub/session/ff65364b-3be3-4539-8b95-9f012703a855 200 4 ms - 959
[HTTP] --> POST /wd/hub/session/ff65364b-3be3-4539-8b95-9f012703a855/element {“using”:“xpath”,“value”:"//android.widget.Button[@index=‘1’]"}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“xpath”,"//android.widget.Button[@index=‘1’]",“ff65364b-3be3-4539-8b95-9f012703a855”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.Button[@index=‘1’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//android.widget.Button[@index=‘1’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘//android.widget.Button[@index=‘1’]’ using ‘XPATH’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.Button, INSTANCE=0]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“1”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“1”}
[HTTP] <-- POST /wd/hub/session/ff65364b-3be3-4539-8b95-9f012703a855/element 200 183 ms - 87
[HTTP] --> POST /wd/hub/session/ff65364b-3be3-4539-8b95-9f012703a855/element/1/click {“id”:“1”}
[MJSONWP] Calling AppiumDriver.click() with args: [“1”,“ff65364b-3be3-4539-8b95-9f012703a855”]
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“1”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“1”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:true}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/ff65364b-3be3-4539-8b95-9f012703a855/element/1/click 200 34 ms - 76


so here if work on version- 4.4.2, then tapping on button is working, and if i use Marshmallow 6.0.1, then tapping on button is not working

Can you provide the log for the failed run?

Nothing is failing, only tapping is not working with Marshmallow -6.0.1 version but its working with android kitkat - 4.4.4

This is the important part of the logs:

[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“1”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:true}
[/quote]

Based on your report, you see this exact same output in both log files.

I’ve noticed some buttons do not get reliably clicked during test runs on particular devices. In such cases, I wrap the attempt in a retry loop, validating the button gets pressed. You might try a different Android M device and see if you get the same result.

Yes willosser, I have tried my script on android version 4.4.4 to 5.1 (below 6), its working now.
Thanks for your time

@willosser -

Still I am not able to tap/click on app objects, even I use getText() on that element then getting correct text of object. Below I am sharing appium log and also giving more details -

Android version of my device - 6.0.1
appium jar - java-client-5.0.0beta8
android sdk apis installed - API 20, 22, 23, 25,

appium logs -

[HTTP] <-- POST /wd/hub/session/b72268ec-547e-4c33-b1b3-2763b63221fa/timeouts 200 4 ms - 76
[HTTP] --> POST /wd/hub/session/b72268ec-547e-4c33-b1b3-2763b63221fa/element {“using”:“id”,“value”:“com.housejoy.consumer.activity:id/signIn”}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.housejoy.consumer.activity:id/signIn”,“b72268ec-547e-4c33-b1b3-2763b63221fa”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 20000 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.housejoy.consumer.activity:id/signIn”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.housejoy.consumer.activity:id/signIn”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.housejoy.consumer.activity:id/signIn’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.housejoy.consumer.activity:id/signIn]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.housejoy.consumer.activity:id/signIn’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.housejoy.consumer.activity:id/signIn]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:7,“value”:“No element found”}
[AndroidBootstrap] Received command result from bootstrap
[BaseDriver] Waited for 349 ms so far
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.housejoy.consumer.activity:id/signIn”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.housejoy.consumer.activity:id/signIn”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.housejoy.consumer.activity:id/signIn’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.housejoy.consumer.activity:id/signIn]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.housejoy.consumer.activity:id/signIn’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.housejoy.consumer.activity:id/signIn]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:7,“value”:“No element found”}
[AndroidBootstrap] Received command result from bootstrap
[BaseDriver] Waited for 1671 ms so far
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.housejoy.consumer.activity:id/signIn”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.housejoy.consumer.activity:id/signIn”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.housejoy.consumer.activity:id/signIn’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.housejoy.consumer.activity:id/signIn]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.housejoy.consumer.activity:id/signIn’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.housejoy.consumer.activity:id/signIn]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:7,“value”:“No element found”}
[AndroidBootstrap] Received command result from bootstrap
[BaseDriver] Waited for 2459 ms so far
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.housejoy.consumer.activity:id/signIn”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.housejoy.consumer.activity:id/signIn”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.housejoy.consumer.activity:id/signIn’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.housejoy.consumer.activity:id/signIn]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.housejoy.consumer.activity:id/signIn’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.housejoy.consumer.activity:id/signIn]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:7,“value”:“No element found”}
[AndroidBootstrap] Received command result from bootstrap
[BaseDriver] Waited for 3449 ms so far
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.housejoy.consumer.activity:id/signIn”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.housejoy.consumer.activity:id/signIn”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.housejoy.consumer.activity:id/signIn’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.housejoy.consumer.activity:id/signIn]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.housejoy.consumer.activity:id/signIn’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.housejoy.consumer.activity:id/signIn]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:7,“value”:“No element found”}
[AndroidBootstrap] Received command result from bootstrap
[BaseDriver] Waited for 4144 ms so far
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.housejoy.consumer.activity:id/signIn”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.housejoy.consumer.activity:id/signIn”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.housejoy.consumer.activity:id/signIn’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.housejoy.consumer.activity:id/signIn]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“1”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“1”}
[HTTP] <-- POST /wd/hub/session/b72268ec-547e-4c33-b1b3-2763b63221fa/element 200 4815 ms - 87
[HTTP] --> GET /wd/hub/session/b72268ec-547e-4c33-b1b3-2763b63221fa/element/1/text {}
[MJSONWP] Calling AppiumDriver.getText() with args: [“1”,“b72268ec-547e-4c33-b1b3-2763b63221fa”]
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:getText”,“params”:{“elementId”:“1”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:getText”,“params”:{“elementId”:“1”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getText
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:“Already have an account? Sign in”}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getText() result: “Already have an account? Sign in”
[HTTP] <-- GET /wd/hub/session/b72268ec-547e-4c33-b1b3-2763b63221fa/element/1/text 200 1281 ms - 106
[HTTP] --> POST /wd/hub/session/b72268ec-547e-4c33-b1b3-2763b63221fa/element {“using”:“id”,“value”:“com.housejoy.consumer.activity:id/signIn”}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.housejoy.consumer.activity:id/signIn”,“b72268ec-547e-4c33-b1b3-2763b63221fa”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 20000 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.housejoy.consumer.activity:id/signIn”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.housejoy.consumer.activity:id/signIn”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.housejoy.consumer.activity:id/signIn’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.housejoy.consumer.activity:id/signIn]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“2”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“2”}
[HTTP] <-- POST /wd/hub/session/b72268ec-547e-4c33-b1b3-2763b63221fa/element 200 22 ms - 87
[HTTP] --> GET /wd/hub/session/b72268ec-547e-4c33-b1b3-2763b63221fa/element/2/displayed {}
[MJSONWP] Calling AppiumDriver.elementDisplayed() with args: [“2”,“b72268ec-547e-4c33-b1b3-2763b63221fa”]
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:getAttribute”,“params”:{“attribute”:“displayed”,“elementId”:“2”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:getAttribute”,“params”:{“attribute”:“displayed”,“elementId”:“2”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:“true”}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.elementDisplayed() result: true
[HTTP] <-- GET /wd/hub/session/b72268ec-547e-4c33-b1b3-2763b63221fa/element/2/displayed 200 49 ms - 76
[HTTP] --> POST /wd/hub/session/b72268ec-547e-4c33-b1b3-2763b63221fa/element {“using”:“id”,“value”:“com.housejoy.consumer.activity:id/signIn”}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.housejoy.consumer.activity:id/signIn”,“b72268ec-547e-4c33-b1b3-2763b63221fa”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 20000 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.housejoy.consumer.activity:id/signIn”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.housejoy.consumer.activity:id/signIn”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.housejoy.consumer.activity:id/signIn’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.housejoy.consumer.activity:id/signIn]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“3”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“3”}
[HTTP] <-- POST /wd/hub/session/b72268ec-547e-4c33-b1b3-2763b63221fa/element 200 22 ms - 87
[HTTP] --> POST /wd/hub/session/b72268ec-547e-4c33-b1b3-2763b63221fa/element/3/click {“id”:“3”}
[MJSONWP] Calling AppiumDriver.click() with args: [“3”,“b72268ec-547e-4c33-b1b3-2763b63221fa”]
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“3”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“3”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:true}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.click() result: true

Can you please help asap.

@Ashu05may,

I see from your logs that you search for and find the element with the resource id com.housejoy.consumer.activity:id/signIn. You then verify that it’s visible (this is redundant since you won’t be able to find it if it’s not visible),. You then click on the element, and presumably it’s not recognizing the click. In my previous note on this thread, I said,

I’ve noticed some buttons do not get reliably clicked during test runs on particular devices. In such cases, I wrap the attempt in a retry loop, validating the button gets pressed. You might try a different Android M device and see if you get the same result

Have you tried that?

Hi Willosser,
I tried on another device and its working, now figuring out issue with previous device on which it was not working.
Thank you very much.