We have now completed the tutorial! Squish can of course do much more than we have shown here, but the aim has been to get you started with basic testing as quickly and easily as possible. The User Guide (Chapter 14) provides many more examples, including those that show how tests can interact with particular widgets such as spinners, comboboxes, and line editors, and of course with view widgets and their underlying models.
The API Reference Manual (Chapter 15) and Tools Reference Manual (Chapter 16) give full details of Squish's testing API and the numerous functions it offers to make testing as easy and efficient as possible. It is well worth reading the User Guide (Chapter 14) and at least skimming the API Reference Manual (Chapter 15) and Tools Reference Manual (Chapter 16)—especially since the time invested will be repaid because you'll know what functionality Squish provides out of the box and can avoid reinventing things that are already available.
The key Java SWT examples with links to the places they are used are given below.
The Payment Form example
(How to Test Stateful and Single-Valued Widgets (Java™/SWT) (Section 14.4.6.2.1))
shows how to test single-valued Java widgets such as:
Button, Combo, DateTime,
TabFolder, and Text.
The Item Views example (How to Test List, Table, and Tree widgets (Java™/SWT) (Section 14.4.6.2.2)) shows how to test Java's multi-item widgets, including: List, Table, and Tree.
The CsvTable example (How to Test the Table Widget and Use External Data Files (Java/SWT) (Section 14.4.6.2.3)) shows how to do data-driven testing using external data files.