in my web page, i am trying to select an option from drop
down..
for that i am trying with
Select selectBox = new
Select(Globals.driver.findElement(By.xpath("XPATH of the dropdown")));
selectBox.selectByValue("value to select");
but this is giving following error:
org.openqa.selenium.support.ui.UnexpectedTagNameException: Element should
have been "select" but was "input"
Can anybody please suggest what is wrong with my code, or any
more info is required to debug..
Thanks
satyendra
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.