'I have developed a flutter application but I cannot pass value through the text field on windows application. How do I solve this issue? My code:

driver.findElementByName("Phone Number").sendKeys("5455555");

here I am trying to pass the value 5455555 through the text field of a windows flutter application.

public class basics extends base{ 
    public static void main(String[] args) throws MalformedURLException { 
        // TODO Auto-generated method 
        stub WindowsDriver<WindowsElement> driver = capabilities(); 
        driver.manage().timeouts().implicitlyWait(50, TimeUnit.SECONDS); 
        driver.findElementByName("Login").click(); 
        driver.findElementByName("Login ID").click(); 
        driver.findElementByName("LoginID").sendKeys("91733");
        driver.findElementByName("Password ").click(); 
        driver.findElementByName("Password ").sendKeys("Abcd@123");


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source