When playing back a test it is useful to be able to capture the screen as its current state so that the cause of any test failures can be more easily deduced.