Typically, when you record a GUI script, your goal is to:
1. Record actions that an actual user might perform (for example, clicking a menu command or selecting a check box).
2. Create verification points to confirm the state of objects across builds of the application-under-test (for example, the properties of an object or the text in an entry field).
View Complete Post