Software QA FYI - SQAFYI

Rational Robot FAQ

Part:   1  2  3  4  5  6  7  8  9  10  11  12   13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36 

How to code a script manually?

  1. In Robot, click File > New > Script.
  2. Type a script name (40 characters maximum) and, optionally, a description of the script.
  3. Click GUI.
  4. Click OK. Robot creates an empty script with the following lines:
    Sub Main
    Dim Result As Integer
    'Initially Recorded: 01/17/05 14:55:53
    'Script Name: GUI Script
    End Sub
  5. Begin coding the GUI script.

How to add a new action to an existing script?

  1. If necessary, open the script by clicking File > Open > Script.
  2. If you are currently debugging, click Debug > Stop.
  3. In the Script window, click where you want to insert the new actions. Make sure that the application-under-test is in the appropriate state to begin recording at the text cursor position.
  4. Click the Insert Recording button on the Standard toolbar. The Robot window minimizes by default, or behaves as specified in the GUI Record Options dialog box.
  5. Continue working with the application-under-test as you normally do when recording a script.

How to add a feature to an existing GUI script?

  1. If necessary, open the script by clicking File > Open > Script.
  2. If you are currently debugging, click Debug > Stop.
  3. In the Script window, click where you want to insert the feature. Make sure that the application-under-test is in the appropriate state to insert the feature at the text cursor position.
  4. Do one of the following:
    - To add the feature without going into recording mode, click the Display GUI Insert Toolbar button on the Standard toolbar. The Robot Script window remains open. - To start recording and add the feature, click the Insert Recording button on the Standard toolbar. The Robot window minimizes by default, or behaves as specified in the GUI Record Options dialog box. Click the Display GUI Insert Toolbar button on the GUI Record toolbar.
  5. Click the appropriate button on the GUI Insert toolbar.
  6. Continue adding the feature as usual.

How o batch compile scripts and library source files?

  1. Click File > Batch Compile.
  2. Select an option to filter the type of scripts or files you want to appear in the Available list: GUI scripts, VU scripts, or SQABasic library source files.
  3. Optionally, select List only modules that require compilation to display only those files that have not yet been compiled or that have changed since they were last compiled.
  4. Select one or more files in the Available list and click > or >>. Robot compiles the files in the same order in which they appear in the Selected list.
  5. Click OK to compile the selected files.

Part:   1  2  3  4  5  6  7  8  9  10  11  12   13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36 

Rational Robot FAQ