SWTbot: Automatic GUI Testing for RCP/SWT/Eclipse Programs

I finally sat down and spent two hours on using SWTbot. It is a automatic GUI testing tool for RCP/SWT programs. If you are writing AWT/Swing programs, it’s not for you. For AWT/Swing, you may want abbot.

I experienced several problems with setting it up. Finally I installed SWTbot 1.2, configured the launch settings,  eliminated a NullPointerException error, and finally got it running. Feeling pretty good now.

SWTbot is being proposed to become an eclipse subproject. The latest version is 2.0. However, you might want to try 1.2 before getting more familiar.

This entry was posted in eclipse, java and tagged , , , , , , , . Bookmark the permalink.

2 Responses to SWTbot: Automatic GUI Testing for RCP/SWT/Eclipse Programs

  1. I’m sorry to hear that your experience with SWTBot has been bad. Please do file any issues you faced on the bugzilla to make swtbot better.

    Version 1.2 although stable, is no longer supported, and version 2.0 is the way to go ahead.

  2. frank says:

    to Ketan: I encountered a problem with new dependencies ver 2.0 imported. Of course hopefully it will be resolved soon. I will attend your SWTbox session at EclipseCon next month. Looking forward to it!

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.