Maybe this could also provide a few ideas? http://code.google.com/p/phpquery/
On Mar 18, 6:44 pm, Jian Fang <[email protected]> wrote: > At a second thought, GQuery or other Java-based Javascript Engine may not be > a perfect fit for the Engine > project, but might be potentially useful for an IDE plugin. For example, we > could create an IntelliJ IDEA > plugin called "TelluriumWorks" that implements trump functionalities to > create UI modules from a web page, > create a test flow on fly, and run the test script. The reason we need an > IDE plugin instead of a Firefox > plugin is that JavaScript is pretty limited in power with low performance > when it comes to data-mining or knowledge-based > processing, which is essential if we need to generalize the UI module to > more powerful UI templates such as List > and Table. > > I will think it over later once I have some free time. > > Thanks, > > Jian > > > > On Mon, Mar 15, 2010 at 9:50 AM, Jian Fang <[email protected]> wrote: > > Hi Nick, > > > You are right, I knew GWT run as JavasScript after I watched the video. But > > the key problems > > are still the browser launch, Event creation, and event handling if we > > design a web testing system > > similar to Selenium. I am not familiar with GWT and not sure how powerful, > > efficient, and flexible it > > is compared with native JavaScript. Apart from the Java side code, what are > > the real advantages > > to use GQuery instead of jQuery? jQuery is really easy to use. > > > But your idea is very interesting and worthy trying. Maybe you could do a > > quick prototype and find the > > answers to my above questions. > > > Thanks, > > > Jian > > > On Mon, Mar 15, 2010 at 8:33 AM, Nicolae Vintila <[email protected]>wrote: > > >> Hi Jian, > > >> Will read again what you said and reply... > > >> But I meant compile this with GWT which means it runs as JavaScript... > >> Would that not be cool? :-) > > >> Again, will read your points again. > >> Thanks for pushing forward this cool project. > > >> Nick > > >> On Thu, Mar 11, 2010 at 4:30 PM, Jian Fang <[email protected]>wrote: > > >>> Hi Nick, > > >>> Thanks for you info. I took a look at the post > > >>>http://ajaxian.com/archives/gquery-java-gwt-and-jquery-together > > >>> and it is very impressive that they implement jQuery in Java. The only > >>> problem to implement > >>> the Engine in Java is the round trip overhead to and from Selenium > >>> Core/Engine unless we > >>> can change the way how the web browser is launched and the event is > >>> fired. Selenium 2.0 uses > >>> Webdriver, which seems to be a native browser driver, not sure how good > >>> it works. > > >>> Actually, in the 0.7.0 Engine project, we have implemented a set of > >>> Selenium APIs with jQuery > >>> and Dominic tested them and reported some problems. We need to fix them. > > >>> Another big vision for the Engine project is to define UI module/widget > >>> in the Engine so that the API really > >>> talks to a UI object instead of a link, button, etc. For example, we > >>> defined the GoogleSearch module > >>> in Engine by calling the following method to Engine > > >>> defineUi(JSON presentation) <--- right now, we use the method > >>> useUiModule(), awkward name though. > > >>> Then you can call the Engine API with the UI module/object in mind as > > >>> Type("Google.Input", "TelluriumSource"); > >>> click("Google.Search"); > > >>> Wouldn't that be cool? > > >>> Thanks, > > >>> Jian > > >>> On Thu, Mar 11, 2010 at 3:13 PM, Nicolae Vintila > >>> <[email protected]>wrote: > > >>>> Hi Jian, > > >>>> Hope all is well? > >>>> Saw > >>>>http://forum.jquery.com/topic/using-jquery-to-implement-a-web-test-dr... > > >>>> You may want to look at GQuery - a (partial) GWT/Java impl of jQuery. > > >>>> Would this make it easier (being in Java) to achieve the goals you have > >>>> in mind? > >>>> Being partial may cause grief with things not working... > > >>>> 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]<tellurium-users%2bunsubscr...@googlegroups.com> > >>>> . > >>>> For more options, visit this group at > >>>>http://groups.google.com/group/tellurium-users?hl=en. > > >>> -- > >>> 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]<tellurium-users%2bunsubscr...@googlegroups.com> > >>> . > >>> For more options, visit this group at > >>>http://groups.google.com/group/tellurium-users?hl=en. > > >> -- > >> 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]<tellurium-users%2bunsubscr...@googlegroups.com> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/tellurium-users?hl=en.- Hide quoted text - > > - Show quoted 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.
