This is to select the list value for text box
Syntax :-
Select skillSelect = new Select(driver.findElement(By.name(“skill”)));
//using skillSelect to select menu options — Programming
skillSelect.selectByVisibleText(“Programming”);
skillSelect.selectByVisibleText(“Database”);