Thursday, September 17, 2009

Handling Dropdown elements using Selenium IDE

Here is an example on how to handle Dropdown elements in selenium IDE.
Example:





Select From Dropdown











































































Select From Dropdown
store 58058 option1
store 30 index1
open http://pages.ebay.com/sitemap.html
select category0 label=Toys & Hobbies
storeSelectedLabel category0 label1
assertSelectedIndex category0 ${index1}
assertSelectedLabel category0 ${label1}
select category0 label=Computers & Networking
storeSelectedLabel category0 label2
assertSelectedLabel category0 ${label2}
assertSelectedValue category0 ${option1}




No comments:

Computers Add to Technorati Favorites Programming Blogs - BlogCatalog Blog Directory