I am trying to select a date from picker using id(picker) and sendKeys() . No exception or error is thrown.But picker value remains the same(default).
Following is the code , tried with class name too .
MobileElement picker = (MobileElement) driver.findElement(By.xpath("//android.view.View[@resource-id=':id/left_picker']")); picker.sendKeys(day);
Attaching the screenshot of UI Automator hierarchy.