This document discusses using specification by example (SBE) to test rich client GUI applications. It describes using a tool called TextTest that allows writing tests using a domain language and automatically records the GUI interactions and assertions. Tests in TextTest have two parts - a use case section describing actions in domain language terms, and an automatically generated GUI log section capturing screen contents. This allows testing applications by their specifications before code is written and preserves requirements as living documentation through automated regression tests.