EclipseZone logo image
Friday, March 09, 2007 

Automate Java GUI Testing with WindowTester Pro

Instantiations WindowTester Pro 2.0 streamlines testing Swing and SWT graphical user interfaces. Focus on creating application logic rather than hand-crafting and maintaining test code through automated recording, test generation, code coverage and playback of GUI application interactions. 100% JUnit compatible.

Free Trial: Download it today!

 EZ News Corner
dzoneMost-clicked links this week
 
 EZ News Corner
 Next section
Daniel Spiewak is a Java developer and system administrator from Wisconsin, USA. He has over 7 years of experience in the field and specializes in UI design and peer-to-peer networking.

Daniel SpiewakA Busy Week

My portion of the newsletter this week is somewhat abbreviated since I wasn't on-hand to cover what is probably the biggest Eclipse related event of the year, EclipseCon. Instead, Alex Blewitt provided the highlights in a series of EclipseZone posts which I know I followed with a great deal of interest. Since he was actually at the conference, I left it up to him to craft the recap which I have attached to this newsletter. So instead of reading me drone on and on, you get to see Alex wax poetic about the joys of free wifi and that truly life-giving beverage: coffee (black).

On the spot from EclipseCon (Alex Blewitt)

EclipseCon has certainly been a whirlwind tour, with many front-page posts on EclipseZone from talks that I've been to. The organisation seems to have worked really well this year; although there weren't as many power sockets as there have been in previous conferences, if you knew where to look it was possible to find a few places to charge up in situ. However, the volume of posts on PlanetEclipse seems to have been less than in previous years; perhaps the lack of power supplies is one possible cause.

As usual, there were many different types of talk that you could attend. However, I found that because the conference had been organized as a series of tracks, then the presentations were scheduled as tracks and there was less overlap between topics of related interest (e.g. generally RCP presentations tended not to run at the same time as other RCP presentations; ditto for OSGi). Of course, there are a number of things that you'd like to go to the same time if only you could be in more places at the same time.

The conference is also exhausting; for anyone thinking of coming in next year, pace yourself. The late-night BoFs are where you can learn some of the more interesting things about the Eclipse platform, but at least this year they finished by 10pm -- last year, they ran on much later. I suspect that the fact the exhibitors were only showing on two days instead of throughout the conference helped them as well.

Although there was logically an open-source area, I didn't see the area populated with demonstrators. I'd be interested in hearing your feedback on the open-source pavilion this year if you saw it.

The big news to take away is that OSGi is growing exponentially. Instead of 'just' being the lowest layer of Eclipse, many people are looking at OSGi on the server side, or for command-line applications, or for building dynamic web applications ... if you've not seen the mini-series on EclipseZone yet, I encourage you to read it. It's going to become much more popular in the future. Of course, that's a message that I've been giving across a lot before, but being at EclipseCon certainly confirms that it's right on the money.

Of course, we've also had some big Eclipse Foundation news -- 20% more projects, committers and members than last year's EclipseCon means it's going from strength to strength, as well as the announcement of the AJAX Toolkit Framework and Rich AJAX Platform is showing where Eclipse will be going in the future. More importantly, Oracle has upgraded its membership and will be donating the code behind TopLink as an Eclipse project, which is potentially a very bold move. The Eclipse Foundation is going from strength to strength, and one can only wonder what next year's EclipseCon will be like.

Ruby Tool Competition Heating Up (Daniel Spiewak)

Ruby, like most dynamic languages, is a surprisingly difficult language to write a solid development tool. In fact, most tools available for Ruby simply provide syntax highlighting and basic indentation. There are a few which provide auto-reformatting, but on the whole the tool scene for dynamic languages is pretty bare. At least, until recently...

Recently there has been a major increase in the number of tools available for Ruby development. Microsoft funded a project called "Ruby in Steel" which created a Ruby IDE based on VisualStudio. Not only does this IDE support syntax highlighting and indentation, but it also has more advanced features such as inline documentation and intelli-sense. JetBrains (the creators of the popular Java IDE, IntelliJ) also jumped on the Ruby bandwagon with the creation of a complete development environment for Ruby which runs within IntelliJ IDEA.

Even more recently, Tor Norbye committed his work on a NetBeans Ruby/Rails development environment into the NetBeans CVS. Not surprisingly, the toolset is very impressive. In fact, Roman Strobl created a pair of screencasts (demonstrating the new functionality) which probably qualify as the most impressive screencasts I've seen since the famous Matisse demo screencast.

Now, for those of you who didn't already know, Eclipse has had its own Ruby development feature set provided through the RDT plugins. These have been around for a very long time, and were the foundation for the RadRails IDE. Not to be outdone by the flurry of activity in the Ruby toolset industry, the RDT team is about to make their 0.9 release which will arguably outdo all of the other development tools and firmly establish Eclipse at the forefront of Ruby IDEs.

I'm not going to run through every feature coming in 0.9 in bullet-point fashion, but I do think that one feature in particular is worthy of special note: refactoring. That's right, RDT 0.9 will offer some basic refactorings (such as rename, extract local field, encapsulate field and so on). This is entirely above and beyond anything being offered by competing products (such as the NetBeans Ruby toolset). Hopefully, this will be recognized as the revolutionary feature that it is and bring some much needed attention back to the RDT project.

You can discuss this topic further on this thread at EclipseZone.

Until Next Time,
Daniel and Alex
editors@dzone.com

 Tips and Tricks
 
 Tips and Tricks
 Next section
 Back to top
Nearly every day, RJ and others, bring you the hottest tips and tricks from around the Eclipse universe. Have a hot tip? E-mail the editors at editors@eclipsezone.com.
Wrapping selected code in a block

An oldie but a goodie -- you can create a selection with Ctrl+Shift+Arrows, and then use Control+Space to insert a multi-line template such as surrounding with try/catch or becoming the body of a while loop.

Full DiscussionPosted By: Alex Blewitt - (4 Replies)

Running 'tail' inside Eclipse

A recent question on Ask EZ about how to tail a file's output in Eclipse prompted me to answer; but in the spirit of sharing the idea with others, I'm posting the reply to the Tips and Tricks page.

Full DiscussionPosted By: Alex Blewitt - (6 Replies)

Trying out a bugfix in Eclipse, without redeploying your application.

Apply simple code-changes to the application you're debugging in eclipse, without needing to restart it. This can be a lifesaver if your application takes forever to build and restart and you just want to see the effect of a minor code change.

Full DiscussionPosted By: Daniel Bray - (5 Replies)

Using detail formaters for pretty-printing objects without toString()

Did you know Eclipse can substitute any classes toString() method for displaying output in the Debug view? It's a little-known feature, but can make debugging -- particularly of internal code -- a lot easier.

Full DiscussionPosted By: Alex Blewitt - (6 Replies)

Sort Members

The sort members functionality is under used, but it can be of great benefit. Here's why.

Full DiscussionPosted By: Alex Blewitt - (5 Replies)

Getting Started With Eclipse and Groovy

Groovy, a dynamic language for the Java platform, has reached 1.0 status. Learn how to start working with Groovy in your Eclipse projects using their provided Eclipse plug-ins.

Full DiscussionPosted By: R.J. Lorimer - (11 Replies)

Switching Branches with Unfinished Changes

Eclipse supports a feature to switch to a different branch or version from the one you are working on, even when you have unfinished/uncommitted changes.

Full DiscussionPosted By: R.J. Lorimer - (5 Replies)

Prevent multiple files from cluttering up your editor

Whenever you open a new file in Eclipse, it opens up as a new editor. If you're not careful you can end up with tens of files open at one time. Why not keep the editor area clean by closing them automatically?

Full DiscussionPosted By: Alex Blewitt - (6 Replies)

3.3: Non-Modal Local Refactorings

A new feature of Eclipse 3.3 M4 is the addition of several refactorings as non-modal quick-assist changes in the editor. Learn how to use them in this tip.

Full DiscussionPosted By: R.J. Lorimer - (3 Replies)

Eclipse 3.3M4 on Mac now supports dockable app

Now that the splash screen launcher has been moved into the core Java startup process, there's no need for the JVM to be forked as an external process (instead, it's launched by JNI). This is great news for us Mac users, since now both the Eclipse JDT and any Eclipse RCP applications are finally dockable for the first time in Eclipse's history on the Mac.

Full DiscussionPosted By: Alex Blewitt - (2 Replies)

 Ask EZ
 
 Ask EZ
 Next section
 Back to top
Everyone has questions, especially about a platform such as Eclipse that has so much potential to be customized. EclipseZone comes to the rescue as our editors answer nearly any question you can think of in our Ask EZ forum.
Plugin- Creating a file in the package explorer

i am trying to create a plugin where i can create a file with the name given in the text box and it should be displayed in the package explorer.

Full DiscussionPosted By: karen - (0 Replies)

Plugi- Creating a file in the package explorer

i am trying to create a plugin where i can create a file with the name given in the text box and it should be displayed in the package explorer.

Full DiscussionPosted By: karen - (0 Replies)

eclipse 3.2.1, mysql 5.0, dtp 1.0

schema-folder does not contain any tables... I tried to use DTP 1.0, but after connecting to my database, I cannot see any tables!

Full DiscussionPosted By: Georg - (0 Replies)

Who knows what about this error (JSLint Validator) ??? HELPME :-(

When I create a new Static Web project with my own ATF specific framework, the JSLint Validator outputs the following error. Everything works though.

Full DiscussionPosted By: Sergey - (0 Replies)

Plugin - Creating a file

i wanted to create a file uing a plugin. i created a plugin with a text filed and ok and cancel buttons. wht extra code i must write to create a file

Full DiscussionPosted By: karen - (2 Replies)

Handling Null Values

To handle null values in response i have defined XML element attribute as nillable=true.On the server side i want to know

Full DiscussionPosted By: mogambo - (0 Replies)

Unregistering an action from ActionBarAdvisor

How can I unregister a registered action from an ActionBarAdvisor? I tried dispose(), sisposeAction() etc. and apparently it's not their purpose...

Full DiscussionPosted By: Miro - (0 Replies)

How to 'send' an object from one view to another

Selecting objects in one view and 'adding' these objects to another view via a view action. How to do this?

Full DiscussionPosted By: Torsten Beuck - (1 Replies)

How to calculate this expression???

How to use simple math expressions in Ajax snippet templates? Does anybody know how to calculate this expression: for example: x=5, y=2; ${x}+${y}

Full DiscussionPosted By: Sergey - (1 Replies)

Build path order - choosing libraries over source code.

I want to build my test code against compiled classes, rather than the source code. Build path order seems the right place to do this.

Full DiscussionPosted By: Sam Birch - (0 Replies)

Text Field

Adding text field to the simple HelloWorld example given in Eclipse Corner Article (Your First Plugin)

Full DiscussionPosted By: karen - (0 Replies)

Mapping EMF classes and XML schema

How to map EMF classes and XML schema and maintain the mapping when the schema changes and EMF classes are regenerated?

Full DiscussionPosted By: Prasanna - (0 Replies)

Export issue

Images that display properly inside Eclipse when I run my app disappear when the app is exported to a jar file.

Full DiscussionPosted By: project6 - (4 Replies)

Workspace Path

In java, how do I get the path to eclipse's workspace directory or to the project directory that is in the workspace?

Full DiscussionPosted By: Chip - (6 Replies)

how to create a dynamic Menu

I want to add Menu Item dynamically, i also need to know about IMenuManager , IMenuListerner, I am new to SWT.

Full DiscussionPosted By: jacob - (1 Replies)

Problem in Launching the eclipse 3.2.2 in Power PC with IBM JRE 1.4 & 1.5

I have a Problem in Launching the eclipse 3.2.2 in Power PC with IBM JRE 1.4 & 1.5,The problem Desription is given below, Plz any one can help me out

Full DiscussionPosted By: Satish Gudluru - (0 Replies)

Change Time Zone in Eclipse/BIRT????

Need to change the time zone of my Eclipse/BIRT install. My BIRT reports are not showing the proper time.

Full DiscussionPosted By: Joe Mack - (1 Replies)

autogenrating java doc compliant documentation in the source code.

There are tons of java classes in my current project that have zero documentation at class and method level. There are tons of java classes in my cur

Full DiscussionPosted By: srinivas ramgopal - (1 Replies)

NullPointerException while using pre-compiled jsp files in a jar file

Java JDK 1.5.0.09 Eclipse 3.2.1 Apache Tomcat 5.5.20 Sysdeo Tomcat Plugin 3.2.0 beta2 Struts 1.2

Full DiscussionPosted By: Brad Williams - (5 Replies)

To close a database connection in a plugin application

A database connection is established in a plugin application.How to close the database connection when a plugin application is closed.

Full DiscussionPosted By: Anila Alex - (1 Replies)

Color every other line

How can I get eclipse to color every other line grey like old line printer paper so it is easier to read?

Full DiscussionPosted By: Chung-Yup Oh - (0 Replies)

Resource changed outside of editor on every save

Every time I try to save a file I get the resource changed outside of editor message. This only happens under Linux on a dual boot machine.

Full DiscussionPosted By: Josh Potter - (1 Replies)

Eclipse Application Title Customization

Is there a way to customize the title of Eclipse in the TaskBar based on the workspace that you are working in?

Full DiscussionPosted By: Mike - (1 Replies)

adding a new properties tab, view data as tree table

how to go about adding a new properties tab and setting and viewing data in a table or tree table format

Full DiscussionPosted By: saml - (0 Replies)

Commit log and how to see what was affected by certain commit using CVS

Is there a way how to see a CVS commit log in Eclipse CVS view and how to group committed files by commits? I do not mean grouping by cvs tags which have to be explicitly created.

Full DiscussionPosted By: Jiri Kulhanek - (2 Replies)

 Popular at EZ
 
 Popular at EclipseZone
 Next section
 Back to top
A recap of some of the most popular and active EclipseZone discussions this week.
EclipseCon: Subversive is an approved project

Subversive, one of the two open-source implementations for subversion, has been approved as a project at Eclipse.

Full DiscussionPosted By: Alex Blewitt - (12 Replies)

NetBeans gets Ruby. Does Eclipse?

Eclipse RDT has long been the leader in Ruby IDE support. Recently, several new tools (such as NetBeans) have surpassed RDT in features. Hopefully, this is just a temporary reversal.

Full DiscussionPosted By: Daniel Spiewak - (11 Replies)

Simple SWT Reflection Effect Demo

It has been said that SWT is lacking in graphics capabilities. However, this is far from the truth. This article demos one of the more commonly used effects: mirror-style reflection.

Full DiscussionPosted By: Daniel Spiewak - (17 Replies)

EclipseCon: Award winners

The EclipseCon awards have just been handed out ... find out who won!

Full DiscussionPosted By: Alex Blewitt - (7 Replies)

EclipseCon: Web applications and AJAX

This year is the beginning of OSGi on the web browser. There are several new projects in the works and a number of people looking at different ways of solving the same problem; are struts' days numbered?

Full DiscussionPosted By: Alex Blewitt - (4 Replies)

 Your Account
 
 Your Account
 Next section
 Back to top
Manage your account info for this and other DeveloperZone publications.
Manage your DeveloperZone membership details

Click on the following links to:


 Contact Info
 Next section
 Back to top
Here's how to reach us, we love to hear from you.
Email us
Send news items to editors@eclipsezone.com
Send questions, complaints, or suggestions to feedback@javalobby.org
Send advertising inquiries to advertise@javalobby.org
 
Call us
Our number is (919) 678-0300. We'd love to hear from you!

 Legal
 Back to top
The fine print we'd rather avoid completely.
Feel free to redistribute this newsletter in part or in full to your friends.

EclipseZone News is a service mark of DeveloperZone, Inc.
Copyright ©2001-2006 DeveloperZone, Inc.

Thank you for your continued support of DeveloperZone. If you prefer not to receive the EclipseZone weekly newsletter, send an e-mail to unsubscribe-eznews@javalobby.org and please ensure the actual email address to be removed is present.
DeveloperZone Inc., 113 Legault Drive, Cary NC 27513 USA