Click here to Skip to main content
14,693,719 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am on half of some application development making use of c# and selenium.

I need selenium to sort some data on a webpage. The situation is like this:

I have a drop down menu containing many titles.Let the titles be A,B,C,D,E. Selenium is able to click on that drop down menu button. But I want selenium to click on the title(say C) which it fails to do so. The main issue behind this is that all the titles(A---E) has got no id,name,class name and has same tagname which when using doesn't click also.

Can anyone show me another alternative to this??

Any comments are really appreciated...
Posted
Comments
ridoy 11-Jul-13 2:02am
   
So you are telling you want not to click on dropdown menu,but on label of those menu item?
Vysakh Venugopal 11-Jul-13 2:15am
   
@ridoy: Not exactly..Selenium clicks on drop down menu button and that I need..I want selenium also to perform as specified above..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900