Hi I am Automating a Native APP and i am switching to Native Context using
((AppiumDriver) driver).context(“NATIVE_APP”); Some of the elements on the screen even if they are visible on the screen. The method element.isDisplayed() is failing to recognize the objects.
Ha check wether that element is actually present or not i.e id",then after u can give some waiting time and u can use get attribute instead of get text value function …@Boney …
exmple:
if(Element!=null){
if (Element.isDisplayed)
{
System.out.println(“Element is displayed”);
}else{
System.out.println(“Element is not displayed”);
}
}else{
System.out.println(“Element is not visible”);
}