Hi, I am new to testing a GWT UI. I am also researching Selenium as said above. But can anyone tell if Selenium is able to execute database queries?
Any comment is appreciated. Thanks, Rex On Oct 13, 11:06 pm, siva <[EMAIL PROTECTED]> wrote: > Thanks for the information and references to your blogs, Dan. Really > helps. > > If somebody is looking for a way to set ids toGWTwidgets > UIObject.ensureDebugId(Element, String) is supported startingGWT1.5 > which greatly helps in integration with Selenium using object > identifiers. The best part is it results in no compiled code in > production environment. > > You would also like to to have a look at onEnsureDebugId > > -Siva. > > On Oct 10, 7:36 am, dan <[EMAIL PROTECTED]> wrote: > > > Hi Siva, > > > I used Selenium on a project to do integration tests of aGWT > > application; it worked pretty well. We didn't run the tests in hosted > > mode, we ran the tests in web mode deployed to our application > > server. The trick was remembering to use the "waitFor" Selenium > > commands to avoid tests intermittently failing due to race conditions > > -- this is true for all Ajax applications. > > > As for testing an application, if you're talking about unit tests, > > I've written an article on writingGWTapplicationstest-first that > > will appear in the November 2008 issue of Better Software. > > > This is an excellent blog post > > onGWTTDD:http://robvanmaris.jteam.nl/2008/03/09/test-driven-development-for-gw... > > > I've written a blog post about how and when (and why you shouldn't) > >testGWTwidgets:http://blog.danielwellman.com/2008/06/strategies-for-testing-gwt-widg... > > > I thinkGWT1.5 also includes a special testing mode designed for > > testing with tools like Selenium that allows you to generate > > repeatable DOM IDs for widgets. > > > Hope this information helps, > > > Cheers, > > Dan > > > On Oct 8, 9:56 am, siva <[EMAIL PROTECTED]> wrote: > > > > Hi > > > > I'm a novice toGWTand evaluating it for one of the new projects. > > > Selenium looks interesting as a testing solution but looks more of a > > > integrationtestsolution. Can we use selenium to unittestour code > > > and have them run inGWThosted mode ? > > > > Are there any good tutorials/articles which talk about integrating > > > Selenium withGWT? > > > > -Siva --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
