i tried the below code for entering username and password in my text field and then click on the login button :
@Test
public static void test() throws Exception
{
WebElement elementUser = driver.findElement(By.id("com.sample.en:id/etUserName"));
elementUser.sendKeys("vishnu");
WebElement elementPass = driver.findElement(By.id("com.sample.en:id/etPassword"));
elementPass.sendKeys("vishnu");
driver.findElement(By.name("Sign in")).click();
Thread.sleep(9000);
}
but what happens is when the username(vishnu) is entered the keypad pops up and the next text field is not accesssed.
Can anyone tell me how to scroll down after the password is being entered so that the sign in button below it can be clicked....