Dexterity and the runtime engine have a built-in macro system that can be used to record mouse and keyboard events and play them back. The macro system is available to any Dexterity application, allowing users to automate common tasks.
The macro system can also be used to test applications created with Dexterity. Macros allow you to run your test cases on updated versions of your application without having to manually work through the test cases each time. Because the macro system is part of Dexterity, the recorded macro instructions are based on the underlying structure of the application, rather than on positions of windows and fields. This means changing the position of fields in windows won't invalidate a recorded macro.
Details of using the macro system for testing applications can be found in The macro system.