MY HTML SOURCE:
<div class="thumbnails">
<ul>
<li class="thumbnail">
</li>
<li class="thumbnail">
</li>
<li class="thumbnail">
</li>
<li class="thumbnail">
</li>
<li class="thumbnail">
</li>
<li class="thumbnail potd active">
</li>
</ul>
</div>
MY GROOVY MODULE DEF:
Class BRHomePage .....{
ui.Container(uid:"rotator", clocator:[tag:"div",class:"thumbnails"]){
List(uid: "tnails", clocator: [tag: "ul"], separator: "li"){
UrlLink(uid: "all", clocator: [:])
}
}
}
MY TEST:
brhp = new BRHomePage();
brhp.defineUi();
Question? Is there a method that I can use to get the 'class' attribute of the
'li' tag?
something like
String str = brhp.getAttribute("rotator.tnails[3]","class"); //
getAttribute(id, attributeName)
Regards,
Manoj
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---