Except what rakesh said in the above thread(as i cannot force developer to write extra code and developers are not accessible for me)
I tried all the ways specified in this thread, but didnt help. Can someone help me here?
element.sendKeys(strValue+"\n"); - entering the value but soon after navigating to home screen.
element.sendKeys(strValue);
String command = "adb -s input keyevent KEYCODE_SEARCH";
** try {**
** Process result = Runtime.getRuntime().exec(command);**
** } catch (IOException e) {**
** // TODO Auto-generated catch block**
** e.printStackTrace();**
** }**
enter the value but didnt click on Search button.
element.sendKeys(strValue);
driver.sendKeyEvent(AndroidKeyCode.ENTER);
Enter the value and bringing back to home screen.
Also tried with Keyevent codes 84 and 66, but didnt help.
Can someone let me know any other soluctions