RCP Robot is a library for the automation of GUI tests. It is based on
Abbot deals with a lot of low-level SWT detail and can be complicated to use – especially for testers with little SWT knowledge.
The core idea of RCP Robot is to interact with an RCP application at the same conceptional level as the application is designed. While Abbot works on the level of SWT, the RCP Robot works with perspectives, views and other Workbench elements.
RCP Robot grew out of using Abbot by extracting repetitive test code into a clean API. The RCP Robot API hides SWT completely from the test developer. Test methods use simple Java types (mostly Strings) as paramters, e.g. assertViewExists(„Outline“).
This approach leads to writing GUI tests using the Framework for Integrated Tests (FIT), invented by Ward Cunningham. FIT tests are written in text or spreadsheet documents. The contained test data from these documents maps nicely to the String-heavy API of RCP Robot.
In this talk you will see Abbot, RCP Robot and FIT in action. All three projects are open-source.
Dr. Frank Gerhardt is a pioneer of commercial Eclipse RCP application
development and founder of Gerhardt Informatics, an Eclipse Foundation member company.
Gerhardt Informatics offers consulting, training and software development services. Frank can be reached at firstname.lastname@example.org.