background image
<< Restoring Robot During Recording | Record floating toolbar >>
<< Restoring Robot During Recording | Record floating toolbar >>
Database application
Recording a Single Script in a Session
7-3
Recording a Single Script in a Session
Use the following procedure to record a script. For information about splitting a
recording session into multiple scripts, see Splitting a Session into Multiple Scripts on
page 7-17.
To record a script:
1. In Robot, click the Record Session button.
Alternatively, click File > Record Session, or press
CTRL+SHIFT+R
.
2. Type the session name (40 characters maximum), or accept the default name. You
will specify the script name when you finish recording the script.
If you have not yet set your session recording options, do so now by clicking
Options.
3. Click OK in the Record Session - Enter Session Name dialog box. The
following events occur:
Robot is minimized (default behavior).
The Session Record floating toolbar appears (default behavior). You can use
this toolbar to stop recording, redisplay Robot, split a script, and insert
features into a script. (See Using the Floating Toolbars on page 7-5.)
The Session Recorder icon appears on the taskbar. The icon blinks as Robot
captures requests and responses.
4. If the Start Application dialog box is displayed, provide the following
information, and click OK:
The path of the executable file for the browser or database application.
Optionally, the working directory for any components (such as DLLs) that
the client application needs at runtime.
Optionally, any arguments that you want to pass to the client application.
The Start Application dialog box appears only if you are performing API
recording, or if you are performing network or proxy recording and selected
Prompt for application name on start recording in the General tab of the
Session Record Options dialog box.
5. Perform the transactions that you want to record.
As the application sends requests to the server, notice the activity in the Session
Recorder window. Progress bars and request statistics appear in the top of the
window.