开发者

Testing Facebook application written using GWT

开发者 https://www.devze.com 2023-03-16 08:43 出处:网络
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 a

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

精彩评论

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