Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I must test an application that you type 3 letters in a text box and pick an option from a generated list. How can I do this with Selenium IDE?

share|improve this question

That generated list can be implemented a number of different ways. The important thing to understand is that JavaScript will be executed as you are typing which will in turn update the DOM, modifying the HTML on the page. In order to get the HTML of the generated list, you would need to pull up the page in a browser, type in 3 letters and then while the list is displayed use the developer tools for that browser (or Firebug for Firefox) to view the HTML. It is then just a matter of identifying the element by either ID, or some other method and interacting with it, probably with the Click method.

share|improve this answer
Oh, another possibly simpler solution would be to use the recorder to record the scenario and use whatever method of identifying the element the code from the recorded scenario uses. – Sam Woods Jan 12 '12 at 1:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.