how to count number of items present in dropdown

08
May
2012
how to count number of items present in dropdown

Hi...

I want to count the number of items present in drop down list.
i try to use xpath for count but the code is not worn=king. can any one suggest me another method in C#.
About
This topic belongs to the forum
  • Numbers of topics : 2338
  • Numbers of messages : 6053
  • Numbers of users : 5036
  • Numbers of points : 141
Similar topics
Hi,, Using selenium IDE, how it is possible to count the number of elements in a combo box. Any solution?
Hi,, Using selenium IDE, how it is possible to count the number of objects present on the page... here wt is object? wt all it can b? give ex... Any solution?
Hi I am clicking on a web element by this code Selenium.click("class=rtPlus"); here i am having so many elements with same class=trPlus, so i need the count to do for loop. Can any one suggest me how to get the count I am new to selenium.. so
Hi, how can i select and click on any one item present in combo box(Timesheet CR,zzz,Other Activities) below is my html code Code: <div class="x-combo-list-item x-combo-selected" style="white-space:
Hi I am new to Selenium. I am using Selenium with Java. I would like to retrieve number of rows of a table and need to retrieve content of each row of a specific column to validate. I can identify the table only with "id" property. But that
Forums from same category