开发者

Automated GUI Testing [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 8 years 开发者_JS百科ago.

Improve this question

I am writing a Java Desktop Application (SWING) using Netbeans IDE 6.9. I want to do automated GUI testing. All I know about testing is JUnit tests which won't apply for my GUI application. Is there a particular testing framework I can use for testing the GUI application, are there good ones out there? Which ones are easy to use (I need to do testing but I don't have a lot of time for that, however, I don't want to ignore that). My application is basically one frame, with three to 4 tabs (not a big one), my tests shouldn't be complicated, so is there a simple framework that will let me test my application fast and in a strong way to find bugs?

Thanks


I recommend the following open source tools (we are using them on our Java Swing applications):

  • UISpec4J - Non visual testing tool, very good for unit testing/TDD for the GUI application
  • Abbot - Is good for functional testing. Also have record & playback

You can use both or either one of them

From the commercial tools in my opinion the best is IBM Rational Functional Tester - it supports Java applications very well. However it is expensive and is focused on the record & replay approach which is not very reliable.


You can try "fest".

http://code.google.com/p/fest/


QF-test


Try Selenium or Watij.

Both frameworks open a web-page in browser and manipulate page elements. They can click a page element, enter data to input field, get a text or HTML of a specified element, etc. Watij in addition to that can emulate javascript events directly.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜