SHAILENDRA SINGH
unread,Sep 22, 2011, 4:45:24 AM9/22/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to selenesse-users
Hi,
In a testcase , I have to count all the childNodes of a Div , and this
Div do not have 'Id' but it has a class.
eg.
<div class="searchCenter largeFont">
<div class="NewClass"> 1 </div>
<div class="NewClass"> 2 </div>
<div class="NewClass"> 3</div>
<div class="NewClass"> 4 </div>
<div class="NewClass"> 5</div>
</div>
I want to count childNodes of <div class="searchCenter largeFont"> ,
and result should be 5.
Thanks in advance, It's urgent please suggest some solution ASAP.
-Shailendra