Interview Questions

How to insert a block into a script?

Rational Robot FAQ


(Continued from previous question...)

How to insert a block into a script?

  1. If the Session Insert floating toolbar is not already displayed, click the Insert button on the Session Record floating toolbar.
  2. Click the Start Block button at that point in the script where you want the block to begin for example, just before you start to record a transaction.
  3. Type the block name. Robot uses this name as the prefix for all command IDs in the block. The maximum number of characters for a command ID prefix is seven.
  4. Click OK.
  5. Record all of the client requests in the block.
  6. Click the Stop Block button to end the current block, and click OK.
  7. Continue recording the other sections of the script. When you start and stop a block during recording, the commands are reported as annotations in the Annotations window.

(Continued on next question...)

Other Interview Questions