Quality is delighting customers
Permalink Reply by Sasidhar on June 21, 2011 at 2:26pm you have use selenium RC for this.
You can use any language to get count of list items.
Permalink Reply by Namrata Mishara on June 22, 2011 at 1:17pm
Permalink Reply by Sasidhar on June 23, 2011 at 6:54am you can use like
int values = value.hashCode();
for (int i = 0; i < value.length; i++) {
String listitems= value[i];
System.out.println("listitems: "+listitems);
}
you can use this code also
String[] options = selenium.getSelectOptions("xField");
int count = options.length;
System.out.print(count);
© 2012 Created by Quality Testing.