background image
<< Recording a New GUI Script | Object-Oriented Recording >>
<< Recording a New GUI Script | Object-Oriented Recording >>

GUI record and recording options,

Recording GUI Scripts
2-16
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. (For more
information, see Naming Scripts Automatically on page 2-6.)
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. (For more information, see Defining Script Properties on
page 2-23.
)
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. (For information, see Restoring the Robot
Main Window During Recording
on page 2-18.
)
­
The floating GUI Record toolbar appears. You can use this toolbar to pause
or stop recording, display Robot, and insert features into a script. (For more
information, see Using the GUI Record and GUI Insert Toolbars on page 2-19.)
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.
c. Fill in the dialog box and click OK.
NOTE: It is essential that you start the application correctly, depending an
the type of application and how you plan to play it back. For information, see
Starting an Application on page 3-1.