Thanks for sharing your example. Yes, that should also work. Each sub-module
that starts with a "ui." will not affect each other when Tellurium does the
Java object to runtime locator mapping. Of course, the first UIDs must be
different for them. Under the hood, Tellurium will build a separate object
tree for each sub-module starting with "ui.".

Thanks,

Jian

On Thu, Sep 24, 2009 at 7:56 PM, JalexRTL <[email protected]> wrote:

>
> I believe I had a similar project that I was working on today testing
> UI modules on separate web pages.  This format worked for me:
>
> public void defineUi() {
>                                ui.Container(uid: "Main",...............{
>                                     Form(uid: "Login",.......
>                                          InputBox(uid:
> "Username",......
>                                }
>                                ui.Container(uid:
> "Root",................{
>                                     UrlLink(uid:
> "Logout",............
>                                }
> }
>
> To access the elements I had to prefix them with the Container uid.
> ex:
> type "Main.Login.Username", username
> click "Root.Logout"
>
> -Jon Alexander-
> Recommended Test Labs
>
>
> >
>

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