Hi ,
I need some pointer on creating a module for the following html.
<ul id="primaryNav" class="navigation primaryNav clearfix">
http://www.mysite.com/MemberHome?lnkce=sntDd&lnkctr=mhbwse" title="Browse">
<span class="w1">
<span class="w2">Browse DVDs</span>
</span>
</a>
</li>
<li id="wnTab" class="navItem">
<span class="w1">
<span class="w2">Watch Instantly</span>
</span>
</a>
</li>
<li id="qTab" class="navItem">
<span class="w1">
<span class="w2">Your Queue</span>
</span>
</a>
</li>
<li id="rTab" class="navItem short">
<span class="w1">
<span class="w2">
Movies You'll
<span class="icon-love">Love</span>
</span>
</span>
</a>
</li>
</ul>
MY MODULE DEF
ui.Container(uid: "mbrhome", clocator: [tag: "body", id: "page-MemberHome"]){
Container(uid: "navbar", clocator: [tag: "ul", id: "primaryNav"]){
UrlLink(uid: "browse", clocator: [tag: "a", text: "Browse
DVDs"])
UrlLink(uid: "watch", clocator: [tag: "a", text: "Watch
Instantly"])
UrlLink(uid: "queue", clocator: [tag: "a", text: "Your Queue"])
UrlLink(uid: "mlove", clocator: [tag: "a", text:
"Recommendations"])
}
}
I tried this too..
ui.Container(uid: "mbrhome", clocator: [tag: "body", id: "page-MemberHome"]){
Container(uid: "navbar", clocator: [tag: "ul", id: "primaryNav"]){
Span(uid: "browse", clocator: [tag: "span", text: "Browse
DVDs"])
Span(uid: "watch", clocator: [tag: "span", text: "Watch
Instantly"])
Span(uid: "queue", clocator: [tag: "span", text: "Your Queue"])
Span(uid: "mlove", clocator: [tag: "span", text:
"Recommendations"])
}
}
When
I try to isElementPresent on 'mbrhome.navbar.queue' I get a failure...
I tried the Span() definition also and it did not work. Any help
greatly appreciated. I Know I could do a List array and click on
navbar[i].
But if the order changes of the tab then that will not work.
Thanks a lot in advance.
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
-~----------~----~----~----~------~----~------~--~---