select from drop down list selenium code example
Example: using selenium with a dropdown menu
driver.findElement(By.id("dropdownlistone")).click(); // To click on drop down list
driver.findElement(By.linkText("india")).click(); // To select a data from the drop down list