How to set value in a text field? I'm using XUnit

Tell me how I can set value in a text field in XUnit.

Hello Dipen,

To add the text field, you can refer and add the following syntax below:

 // Enter Item name
 IWebElement textfield = driver.FindElement(By.Id("todotext"));
 textfield.SendKeys(itemName);