开发者

Testing Facebook application written using GWT

I'm curren开发者_开发问答tly writing a facebook application using GWT on Eclipse, how can I test the application with all the interaction??


If you mean how can you write tests for your whole working application, you might want to have a look at Selenium (http://seleniumhq.org/). There are a variety of ways of using it, but essentially you can use it to automate a browser and click on elements, enter text, verify that you can see the correct result.

With GWT you will need to use "ensureDebugId" method on UiObject and add to your gwt.xml file so that you get repeatable element ids that you can use in your tests.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜