Interview Questions

How to Recording a Single Script in a Session?

Rational Robot FAQ

(Continued from previous question...)

How to Recording a Single Script in a Session?

  1. In Robot, click the Record Session button. Alternatively, click File > Record Session, or press CTRL+SHIFT+R.
  2. Ty p e t h e 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.
    . 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.
    If there is no activity in the Session Recorder window (or if the Session Recorder icon never blinks), there is a problem with the recording. Stop recording and try to find the cause of the problem.
  6. Optionally, insert features such as blocks and timers through the Session Insert floating toolbar or through the Robot Insert menu.
  7. Optionally, when you finish recording transactions, close the client application. With API recording, when you close the client, Robot asks whether you want to stop recording. If so, click Yes, and either name the session or click to ignore the recorded information in the Generating Scripts dialog box.
  8. Click the Stop Recording button on the Session Record floating toolbar.

(Continued on next question...)

Other Interview Questions