Automated documentation of applications through UI tests