I am using selenium, TestNG and java with eclipse to perform an automated test. I'm having success with commands like click on a button (selenium.click ("button"), pass values to textboxes (selenium.type ("component", "value") and clicks too, but when it comes with a component type dropdown list (relating to common or asp.net MVC) I can not select the field with the command selenium.select ("field", "value").
To select the values and even the fields, I am using XPath to it, but even so, with the dropdown list can not, or can partially.
When a drop-down list accepts the value I type, I can use the selenium.click but if not, nothing I've tried so far works.