Generating actual and expected screenshots