I am using GWTTestCase only, but for elements like Anchor, i am not able to find a way to fire a click. on button i could do that. I want to know, whether GWT provides a way a programmatic equivalent of the user clicking the anchor. It is there for Button.
On Jan 30, 3:23 am, danox <[email protected]> wrote: > The GWT has a test framework that is built on JUnit. Essentially you > create tests and you can then test your widgets as java objects in > your test case. The GWT test case will load up hosted mode under the > covers and run your tests in a GWT environment. A quick read over the > GWT docs should get you > started:http://code.google.com/intl/da/docreader/#p=google-web-toolkit-doc-1-... > > On Jan 30, 4:10 am, GWTDeveloper <[email protected]> wrote: > > > Hi, > > > I am new to GWT. I wanted to know effective way of testing widgets > > like button, listbox, checkbox, anchor, textbox etc. > > I have created a widget factory to create these widgets and attach > > given listeners. > > > when i tried writing unit tests, i was facing problems with anchor > > element's clicks. Before i jump into selenium to write these tests, > > i wanted to know the effective way of testing these widgets. I want to > > keep selenium only for testing UI Layout/styles/component placements. > > > Your inputs are highly appreciated. > > > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
