RE: Read data from excel sheet and assign the value to Select Tag to change value in Drop down menu.
i have used script from here – Permalink link
in above script, the data is read and send to the username and password field. assume there are dropdown of Username and Password, so how we can handle that??
How can i do it??
var newValue = 24;
document.getElementById(‘projectID’).value = newValue;
but of no use. Please suggest any alternate method.
This is not the way we assign drop downs value. By this way you can assign value to a edit box only.
Coming to your problem, find this tutorial here to see how to deal with drop downs in webdriver.