Hi Can anyone check if the javascript xpath library supports contains etc. I remember moving away from this this did not work.
Regards Hari On Tue, Mar 3, 2009 at 8:04 PM, John <[email protected]> wrote: > > Seems the improvement is significant. We also tried to use javascript- > xpath > lib in TrUMP, but found it is not useful for us in Firefox. > I heard CSS selector is very fast in IE, perhaps, that leaves us a > change to > improve the speed by using JQuery in IE. > > Thanks, > > Jian > > On Mar 3, 7:51 am, dominicm <[email protected]> wrote: > > Have now tried out the new Xpath library and it seems at first glance > > to be very much improved. > > > > Execution times in IE are probably one half or one quarter what they > > were. Still much slower than FF or Safari but much improved > > > > Thanks for adding the support for this so quickly. > > > > BTW i had to upgrade to groovy 1.6 for this to work. Not a problem but > > worth knowing > > > > On Mar 3, 1:11 am, John <[email protected]> wrote: > > > > > I added three methods in DslContext, > > > > > public void useDefaultXPathLibrary() > > > > > public void useJavascriptXPathLibrary() > > > > > public void useAjaxsltXPathLibrary() > > > > > The default one is the same as Ajaxslt one. To use faster xpath > > > library, please call > > > > > useJavascriptXPathLibrary() > > > > > For example, in the test case file, > > > > > protected static NewGoogleStartPage ngsp; > > > > > @BeforeClass > > > public static void initUi() { > > > ngsp = new NewGoogleStartPage(); > > > ngsp.defineUi(); > > > ngsp.useJavascriptXPathLibrary(); > > > } > > > > > Let me know if it can speed up the xpath locating in IE. > > > > > 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 -~----------~----~----~----~------~----~------~--~---
