How to set value in a text field with Appium Java TestNG?

Can I set value in a text field with Appium Java TestNG?

Hi Macy,

You can set value in a test field by refering to the sample command below:

 MobileElement url = (MobileElement) driver.findElementById("com.lambdatest.proverbial:id/url");
            url.sendKeys("https://www.lambdatest.com");