Lazy to do the same actions over and over, QtTesting is the answer ! This library provides Slicer3D to record and play macros, by the easiest way. A easy record interface to show you, on time, what you are recording, and a simple and smart player to control how you want to play back your script. QtTesting records all accomplished actions, since you have started the record until you stopped it, without any inputs from the user ! "Create a puppet and let it do it the rest ... "
Slicer developers already use this library to record tutorials and test Slicer3D application.