2. If necessary, enable your application for testing.
3. Make sure your recording options are set appropriately for the recording session.
4. Click the Record GUI Script button on the toolbar to open the Record GUI
dialog box.
5. Type a name (40 characters maximum) or select a script from the list.
The listed scripts have already been recorded in Robot, or generated in
TestFactory. To change the list, select a query from the Query list. The query
lets you narrow down the displayed list, which is useful in projects with
hundreds of scripts. You create queries in TestManager, and you modify queries
in TestManager or Robot.
If a prefix has been defined for script autonaming, Robot displays the prefix in
the Name box. To edit this name, either type in the Name box, or click
Options, change the prefix in the Prefix box, and click OK.
6. To change the recording options, click Options. When finished, click OK.
7. If you selected a previously recorded script, you can change the properties by
clicking Properties. When finished, click OK.
To change the properties of a new script, record the script first. After recording,
click File > Properties.
8. Click OK to start recording. The following events occur:
�
If you selected a script that has already been recorded, Robot asks if you
want to overwrite it. Click Yes. (If you record over a previously-recorded
script, you overwrite the script file but any existing properties are applied to
the new script.)
�
Robot is minimized by default.
�
The floating GUI Record toolbar appears. You can use this toolbar to pause
or stop recording, display Robot, and insert features into a script.
9. Start the application-under-test as follows:
a. Click the Display GUI Insert Toolbar button on the GUI Record toolbar.
b. Click the appropriate Start button on the GUI Insert toolbar.