锁定老帖子 主题:有没有针对Java UI 开发的测试方法?
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2007-03-07
我们正在做 java UI开发, 针对 界面的测试方法有没有? 包括:界面在某种情况下该显示些什么,在按下哪个按钮,是否触发了那个Listener,是否转向另一个UI等等。 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2007-03-07
selenium
|
|
返回顶楼 | |
发表时间:2007-03-07
robbin 写道 selenium
selenium doesn't support desktop applications... |
|
返回顶楼 | |
发表时间:2007-03-07
gigix 写道 robbin 写道 selenium
selenium doesn't support desktop applications... For Swing applications, try this http://opensource.thoughtworks.com/projects/jfcunit.html For SWT or other UI frameworks, it seems no candidates, maybe thoughtworkers would show their interests to this topic ![]() |
|
返回顶楼 | |
发表时间:2007-03-08
桌面开发,比较WEB页面好测试。至少不用重启那些服务。你就当他是一个main方法进行测试吧,保证你的listener类是正常的。最后直接测试。
|
|
返回顶楼 | |
发表时间:2007-03-08
我们也一直为Eclipse RCP程序的测试而痛苦着,到现在还是人工测试.....
|
|
返回顶楼 | |
发表时间:2007-03-08
dearwolf 写道 我们也一直为Eclipse RCP程序的测试而痛苦着,到现在还是人工测试.....
有时确实痛苦,什么办法可以改进呢? 但人就最智能的。 |
|
返回顶楼 | |
发表时间:2007-03-08
Jemmy
http://jemmy.netbeans.org/ 可以脱离Netbeans单独使用 Swing and AWT support. Jemmy itself provides all the API necessary to write tests in terms of Java UI components (Swing and AWT). All the Java UI components are covered to the extent it makes sense for UI testing. |
|
返回顶楼 | |
发表时间:2007-03-08
嗯....还是Swing AWT support...偶去Eclipse 新闻组找找SWT和JFace测试的方法吧...
|
|
返回顶楼 | |
发表时间:2007-03-08
|
|
返回顶楼 | |