Hi Thanks @willosser.. i got the issue fixed with android key event code.. one more thing, there are a common method which i created for swipUp if the expected element is not displayed / till the element displays..
the method is working fine when it run alone.. so there is no issue in specified xpath
can you please look into the code below..
public void scrollTillElementFind(WebElement elm) throws InterruptedException
{
Thread.sleep(1000);
while(elm.isDisplayed()==false)
{
if(elm.isDisplayed()== true)
{
break;
}
else
{
MobileElement elm2 = (MobileElement)driver.findElement(By.className("android.widget.EditText"));
elm2.swipe(SwipeElementDirection.UP, 12000);
continue;
}
}
}