The position problem should be fixed in Tellurium core now. I uploaded
the new jar
and please check it out from our user group or from our Maven repo.

Thanks,

Jian

On Apr 16, 10:16 am, John <[email protected]> wrote:
> Thanks Dominicm, please see my replies inline.
>
> On Apr 16, 10:01 am, dominicm <[email protected]> wrote:
>
>
>
> > Hi John,
>
> > 1. For the Infinity sign, Selenium does return "?" but when I convert
> > this to a double, it correctly returns Infinity.
> > 2. The above was noticed because of the "position" problem. Here is
> > part of my uiObject
> > ontainer(uid:'runnerSummary',clocator:[tag:'table']){
> >         Selector(uid:'runnerSelect', clocator:[id:'myBetsBetView'])
> >         Div(uid:'totalMatched',clocator:[tag:'span',position:'2'])
> >         Div(uid:'runnerMatched',clocator:[tag:'span',position:'3'])
> >         Div(uid:'lastMatched',clocator:[tag:'span',position:'4'])
> >         Div(uid:'projectedBsp',clocator:[tag:'span',position:'5'])
>
> > }
>
> > For jQuery to work I have to take 1 from all of the position numbers,
> > i.e.
>
> > ontainer(uid:'runnerSummary',clocator:[tag:'table']){
> >         Selector(uid:'runnerSelect', clocator:[id:'myBetsBetView'])
> >         Div(uid:'totalMatched',clocator:[tag:'span',position:'1'])
> >         Div(uid:'runnerMatched',clocator:[tag:'span',position:'2'])
> >         Div(uid:'lastMatched',clocator:[tag:'span',position:'3'])
> >         Div(uid:'projectedBsp',clocator:[tag:'span',position:'4'])
>
> > }
>
> This is a bug in the jQuery builder, I will fix it and you should be
> able to use
> the same UI definition.
>
> > 3. I'm using multiople uiObjects in most of my tests. If I have
> > disableJQuerySelector in one and useJQuerySelector in another, this
> > causes conflicts. Depending upon which is defined first, I get either:
> > jquery selector called without "jquery=" prefix or
> > XPath selector called with "jquery=" prefix.
> > Any uiObjects that do not use either method correctly use XPath
> > selectors.
>
> I will look into this. But you could call useJQuerySelector() from
> your test class and not put in the UI module class.
> I do apologize because I put bad examples there.
>
> The UI module should not be coupling with which locator you use. I
> will
> change the examples.
>
> > 4. I think it is possible to use a wildcard for an id if it is
> > accessed as an attribute rather that using #.
>
> I will look into this.
>
> > 5. I think this problem is due to the fact that XPath selectors use
> > "descendant-or-self", which is not really the same (as I understand
> > it) to " *", which is just "descendant". I've worked around the
> > problem in the following way.
> > Table was defined as follows:
>
> > Table(uid:'marketDepth', clocator:[class:'GlobalTableBorder'],
> > group:'true'){
> >         Button(uid:"row:1, column:1",clocator:[name:'acceptButton'])
> >         TextBox(uid:'all')
>
> > }
>
> Could you try the following?
>
> TextBox(uid:'all', clocator: [:])
>
> > Removing the TextBox element fixed this problem. Not sure how this may
> > affect some of my other tables.
--~--~---------~--~----~------------~-------~--~----~
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