views:

24

answers:

1

This is what I am trying to do:

  1. Open my web application
  2. Go to the details page to create a new entity
  3. While creating entity, I need to select some values form the drop down and record it on Selenium IDE
  4. Did all the above steps, they were recorded into Selenium IDE
  5. When I play back, it is trowing an error whenever it is trying to run the script, where some selections from dropdown is needed.

Have been stuck with this for quite sometime now. Tried using "focus", but it did not work as well. Please, can anyone help in this regards ?

A: 

Since I don't know your web application I am going to make a number of suggestions.

Record and replay will not always capture all of the items that it needs to reply. This is a misnomer unfortunately.

Try doing select | locator | itemInSelect

It might be worth adding a waitForX, where X is the item you are waiting for it, call before that in case that select is not loaded when the test hits that point.

AutomatedTester