Unable to identify the element in the mobile app(Android)

Hi,

I am unable to locate the elements in the Android mobile app. I tried different element identification techniques like:
driver.findElement(By.id(“com.buddi.columbia.debug:id/edit_email”)).sendKeys(“irfan.ahmed”);
driver.findElement(By.xpath("//[@class=‘android.widget.EditText’][@index=‘0’]")).sendKeys(“irfan.ahmed”);
driver.findElement(By.id(“edit_email”)).setValue(“irfan.ahmed”);
driver.findElement(By.xpath("//
[@text=‘Email’]")).setValue(“irfan.ahmed”);

Above xpaths did not work.

Could someone help in this regard?
Attaching image

in general what you wrote should work (at least some variants). before setValue or sendKeys try first check that needed element found.

in your case it should work:

// wait 5 - 10 sec here before check as far as 'driver.findElement' is immediate command that does not wait element to appear 
List<MobileElement> elements = driver.findElements(MobileBy.id("edit_email"));
System.out.println("elements size: " + elements.size());

Thank you very much, it worked.