GUI recording options provide instructions to Robot about how to record and
generate GUI scripts. You can set these options either before you begin recording or
early in the recording process.
To set the GUI recording options:
Open the GUI Record Options dialog box by doing one of the following:
Before you start recording, click Tools > GUI Record Options.
Start recording by clicking the Record GUI Script button on the toolbar.
In the Record GUI dialog box, click Options.
Set the options on each tab.
Naming Scripts Automatically
Robot can assist you in assigning names to scripts with its script autonaming feature.
Autonaming inserts your specified characters into the Name box of a new script and
appends a consecutive number to the prefix.
This is a useful feature if you are recording a series of related scripts and want to
identify their relationship through the prefix in their names. For example, if you are
testing the menus in a Visual Basic application, you might want to have every script
name start with VBMenu. To turn on script autonaming:
1. Open the GUI Record Options dialog box.
2. In the General tab, type a prefix in the Prefix box.
Clear the box if you do not want a prefix. If the box is cleared, you will need to
type a name each time you record a new script.
3. Click OK or change other options.
The next time you record a new script, the prefix and a number appear in the Name
box of the Record GUI dialog box.