论坛首页 综合技术论坛

有没有针对Java UI 开发的测试方法?

浏览 10454 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2007-03-07  

我们正在做 java UI开发, 针对 界面的测试方法有没有?

包括:界面在某种情况下该显示些什么,在按下哪个按钮,是否触发了那个Listener,是否转向另一个UI等等。

   发表时间:2007-03-07  
selenium
0 请登录后投票
   发表时间:2007-03-07  
robbin 写道
selenium

selenium doesn't support desktop applications...
0 请登录后投票
   发表时间: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
0 请登录后投票
   发表时间:2007-03-08  
桌面开发,比较WEB页面好测试。至少不用重启那些服务。你就当他是一个main方法进行测试吧,保证你的listener类是正常的。最后直接测试。
0 请登录后投票
   发表时间:2007-03-08  
我们也一直为Eclipse RCP程序的测试而痛苦着,到现在还是人工测试.....
0 请登录后投票
   发表时间:2007-03-08  
dearwolf 写道
我们也一直为Eclipse RCP程序的测试而痛苦着,到现在还是人工测试.....

有时确实痛苦,什么办法可以改进呢?
但人就最智能的。
0 请登录后投票
   发表时间: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.
0 请登录后投票
   发表时间:2007-03-08  
嗯....还是Swing AWT support...偶去Eclipse 新闻组找找SWT和JFace测试的方法吧...
0 请登录后投票
   发表时间:2007-03-08  
IBM Rational Functional Tester, IBM Rational Robot

or Eclipse TPTP
0 请登录后投票
论坛首页 综合技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics