Use Swtbot to create an automated GUI test case for your eclipse application

Source: Internet
Author: User

Introduction: Eclipse is a very broad application and, of course, requires a GUI automation test. Swtbot provides a more complete set of SWT and Eclipse Rich client application (RCP) testing capabilities, this article gives a detailed introduction to SWT's design structure and features, and an example of how to create and execute Swtbot-based test cases for your eclipse application.

Swtbot is a young Open-source project dedicated to simplifying the GUI testing of SWT and the rich client application based on Eclipse, platform independent and powerful. The project has been accepted to the Foundation, although it is still in the incubation stage, but has been successfully applied to many products tested. This paper describes how to configure the development environment in detail, and analyzes the design and implementation structure of Swtbot through examples and class diagrams.

Configuring the Basic Development environment

The development environment used in this article is the Eclipse 3.5 suite for rcp/plug-in development, and you can install the latest version of the Swtbot plug-in directly through an online update.

Select the Eclipse menu item "help-> Install New Software ..." and add the update site in the pop-up window, as shown in Figure 1, where the current site address is technology/swtbot/galileo/dev-build/update-site/

Figure 1. Add Update site

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.