You don't need any custom UI objects and can simply use regular Tellurium UI
objects, for example, the UI could be represented by the following List
object,

ui.List(uid: "dogList", clocator: [tag: "table"], separator: "div"){
   Container(uid: "all", clocator: [tag: "a", class: "subcategoryLink
MA-DOGS"]){
       TextBox(uid: "text", clocator: [tag: "strong"])
   }
}

Be aware that the UI object in Tellurium is kinda of abstract in nature.
There is no restriction
on one to one map for the tag. For example, in the above UI module, we use
the Container
object (not the UrlLink) to present to a link since the link includes a
Strong style node in the DOM.

Please let us know if that works for you.

Thanks,

Jian

2009/9/18 Zsolt Kovács <[email protected]>

>
> Hello,
>
> I am pretty new to Tellurium and I need your help to write a custom
> UIObject. I am writing tests for the webshop medicanimal.com, and I
> would need a template like solution so I can access categories in a
> catalog as a List. When you click on Dogs for example, it opens a
> number of links separated by divs, and I plan to read the text of it
> and map them with the index, so I can use the text in my script to
> click on the link. I have read the wiki pages, but unfortunately there
> is no detailed tutorial on this topic.
>
> Regards,
>
> Zsolt
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to