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?
Tell me more
×
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.
|
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 |
|||||
|
