I am automating Call forwarding in an Android Device 7.0.I tried this but it did not work out.
Is Appium having Bug in it?
Kindly help on urgent basis.Because i have seen people getting response here in 1 year.
Method in Java which i wrote to clear and send keys:
public void clearTextBox(WebElement element,String text) throws Exception
{
element.click();
Thread.sleep(3000);
element.clear();
element.sendKeys(text);
}
here above text is Number : “9560038686”
My Desired Capabilities:
DesiredCapabilities cap=new DesiredCapabilities();
cap.setCapability(“deviceName”, devicename);
cap.setCapability(“platformVersion”, platformVersion);
cap.setCapability(“platformName”, “Android”);
cap.setCapability(“automationName”,“UiAutomator2”);
//cap.setCapability(“automationName”,“Appium”);
cap.setCapability(“skipUnlock”, false);
cap.setCapability(“no-reset”, “true”);
cap.setCapability(“full-reset”, “false”);
cap.setCapability(“autoGrantPermissions”,“true”);
cap.setCapability(“appPackage”, “com.samsung.android.contacts”);
cap.setCapability(“appActivity”, “com.android.dialer.DialtactsActivity”);
driver=new AndroidDriver(new URL(“http://192.168.253.1:4723/wd/hub”), cap);
driver.manage().timeouts().implicitlyWait(15, TimeUnit.SECONDS);
This is the Issue post send keys:
Snapshot of UI Automator: