Documentation generated
from the Eclipse Help
for the product
Record and Playback a Sample SWT Test
WindowTester SWT records and playback UI tests for SWT applications. The following
describes how to generate and play back a UI test for SWT applications.
Prerequisite: This tutorial requires either RCP Developer v2.7.0 and above or WindowTester 2.2.0 and above.
From the list of wizards, select WindowTester > AddressBookSWT Example Project. Please note, this wizard is only available in WindowTester v2.2.0 and above.
Click Next.
Click Finish. The AddressBookSWT example project is now created in your workspace.
To stop the recording, just close your application. A New UI Test dialog will open.
Fill in the following:
Source folder: This is the source folder of your test plug-in project. We recommend that tests be placed into a project separate from the code under test.
Create folder automatically if they do not exist
- If the Source folder does not exist and this option is checked, it
will automatically create the test project with the src and bin
folders. If your project structure
does not have a separate src and bin folders, uncheck this option and
make sure your test project exists.
Package: The package in your test project where you want to save the tests.