Appium version 1.13.0 can't display editText value


#1

I am new in appium automation testing. I am using appium v 1.13.0 , selenium,java and vscode. I can open the real device and click any field also. But I am entering any text or number in any field, i am not getting any issue in my code. It is going to pass. But the problem is it is not showing my input value what I am giving?

AndroidDriver driver;
DesiredCapabilities caps = new DesiredCapabilities();
caps.setCapability(MobileCapabilityType.DEVICE_NAME, “W89DN7UGWWPBHUJZ”);
caps.setCapability(MobileCapabilityType.PLATFORM_NAME, “Android”);
caps.setCapability(MobileCapabilityType.PLATFORM_VERSION, “7.0”);
caps.setCapability(AndroidMobileCapabilityType.APP_PACKAGE, “com.app.operator”);
caps.setCapability(AndroidMobileCapabilityType.APP_ACTIVITY, “com.app.operator.MainActivity”);

driver = new AndroidDriver(new URL(“http://127.0.0.1:4723/wd/hub”), caps);
WebElement mobileNo = driver.findElement(By.xpath("//android.widget.EditText[@text=‘Mobile No’]"));
mobileNo.click();
mobileNo.sendKeys(“9999999999”);