I have a situation like I am automating a native app using Appium(1.3.7) and Selenium webdriver (2.44) in that I want to enter the Date of birth field, when I am clicking on Date of birth field, it will pop up a window to enter the date of birth details, that window is not in focus and appium is failing to enter the details on the window as it is not able to recognize here I am attaching the screenshot of the elements.
Please help me how to get in to focus and enter the Date of birth details… Using Google I tried a lot of methods like:
List<WebElement> Listed= dr.findElementsByClassName("android.widget.EditText");
for(int i=0; i <=Listed.size()-1;i++){
System.out.println("EditText Number="+i);
Listed.get(i).sendKeys("10");
Could you please post the date picker control tree layout expanded (a snapshot) I think date picker control is under Linear Layout but it would be good to see details of the date picker control itself.
Here i used the appium inspector and attached the screenshot…and i dint find any type i,e whether its an alert window or an frame to switch over , please help me if you find , am attaching the screenshot, and i used appium inspector this time as you suggested and i dint find any change for appium inspector and uiautomatorviewer.