te_text is a custom pseudo class we created for Tellurium, a:te_text(Add Sub Account) means the text content is "Add Sub Account". Could you try to do a partial matching to see if you could find it? The only difference between xpath and jQuery selector is that we added normalize-space() for xpath.
Mikhail, please take a look. Thanks, Jian On Wed, Jun 3, 2009 at 5:26 AM, dominicm <[email protected]> wrote: > > HI, > > Looks like there may be a bug: > > UI module looks like this: > > ui.Container(uid:"masterAccountHomepage", clocator: > [class:'GlobalBackground'], group: "false"){ > UrlLink(uid:'addSubAccount',clocator:[text:'Add Sub Account']) > } > > This works fine in XPath but in jQuery I get an error: > > <<ERROR: Element jquery=*.GlobalBackground a:te_text(Add Sub Account) > not found>> > > Shouldn't the locator be "a:text"? > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
