Thanks . Sorry for the trouble  I had tried
ui.Table (uid:"test", clocator:[id:"zzz"],tag:"")

which was the problem.

Anyway I could not proceed further on this path since the Mozilla XForms
plugin traps the trigger event and changes the DOM which finally is not
visible either using Firebug / XPather . So sadly I think this testing could
not go on . I tried using the Ubiquity-xforms but that has its own set of
challenges


Regards
Hari
On Thu, Mar 19, 2009 at 8:41 PM, John <[email protected]> wrote:

>
> Hari,
>
> I wrote a unit test to define the UI as
>
> ui.Table(uid: "Test", clocator: [tag: "", id: "xyz"])
>
> and the generated xpath is
>
> //descendant-or-self::*...@id=\"xyz\"]
>
> seems it has no problem to overwrite the default tag. Anything wrong
> with your code?
>
> I also checked in the unit test to trunk/core and please see the
> Table11.groovy and the testTable11() method in
> the Table_UT.groovy file.
>
> Thanks,
>
> Jian
>
> On Mar 19, 10:55 am, John <[email protected]> wrote:
> > Hari,
> >
> > You defined the UI as
> >
> > ui.Table(uid: "whatever", clocator: [tag: "", REST]), but it is not
> > working?
> >
> > That would be wired since all the UI objects are using the same logic
> > to overwrite the default tag.
> >
> > I will create a unit test to see if there is any problem in the core
> > tonight.
> >
> > Thanks,
> >
> > Jian
>
> >
>

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