There is disclosed a method for generating documentation for a GUI usage
scenario. There is also disclosed a method for assembling a GUI script
from a plurality of pre-scripted parts. In an embodiment, shadow objects
are created to listen to and report activities of each GUI object of
interest during a GUI usage session. The shadow objects may listen to
shadowed GUI object activities during playback of the GUI script, or
during a live GUI usage session. GUI object activities reported by the
shadow objects are identified and converted into narrative language
statements, using a pre-determined conversion list, to create
human-readable documentation.