|Part 2: Becoming a TestArchitect power user / Lesson #4: Using the Action Recorder|
When the Action Recorder generates actions that operate on windows and controls, it populates the arguments of those actions with TA names. If necessary, it allows you to define those names "on the fly".
If the windows and controls visited during a recording session have already been defined in the matching interface entity (or, in the event more than one exists, the matching interface entity that you select), the recorder recognizes them and inserts the TA names directly into the actions. It is therefore recommended that you define the requisite interface entities and elements first, before using the recorder.
When interface entities and elements are not created for given windows or controls prior to recording, the Action Recorder allows you to name them at the conclusion of recording, as demonstrated below using the About window of the Car Rental application.
New Interface Definition dialog box
The New Interface Definitions dialog box is comprised of three panels:
You have used the Action Recorder to generate action lines, as you did in the prior exercises of this Lesson. This time, however, your manual interactions involved controls (and a window) which were not yet defined by your project's interface. The Action Recorder responded by creating new interface definitions, allowing you to assign your own choice of TA names to them.