Also, jQuery selector is more powerful in partial matching for attribute selectors. Check the guide here in case you have not read it yet.
http://code.google.com/p/aost/wiki/TelluriumjQuerySelector On Fri, May 15, 2009 at 1:52 PM, Nicolae Vintila <[email protected]> wrote: > Hi Jian, > > EXT-JS uses css heavily and I am trying to figure out what locators to use: > XPath or jQuery. > > For example a panel is a DIV with class="x-panel" > > but if hidden it looks like this: class="x-panel x-hide-display" > > I used XPath so far but looks like I'd have to use contains (to look for > individual CSS classes) which might be very slow given how many things will > need to be looked up this way... > > Is jQuery support as powerful as XPath? > I used jQuery before but don't quite draw a clear parallel to XPath in the > context of Tellurium. > > Thoughts? > A snipped to EXT-JS generated html at the end... > > Many thanks, > Nick > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
