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 set and clear breakpoints?

  1. If necessary, open a script by clicking File > Open> Script.
  2. Place the pointer on the line where you want to set a new breakpoint or clear an existing breakpoint. You can only place a breakpoint on a line where an SQABasic command is executed. Breakpoints on comments, labels, and blank lines are not supported. Also, there are a very few commands that do not support breakpoints (for example, Dim and Sub).
  3. Click once to insert a blinking text cursor. (You can also highlight the entire line or any part of the line.)
  4. Click Debug > Set or Clear Breakpoint. If you set a breakpoint, Robot inserts a solid red circle in the left margin or highlights the line. If you clear a breakpoint, Robot removes the circle or highlighting.
  5. If you set a breakpoint, click Debug > Go. Robot executes as far as the breakpoint, and then displays a yellow arrow in the left margin of that line or highlights the line.

The following steps outline the general process for recording a script.

  1. Set the session recording options. Recording options tell Robot how to record and generate scripts. You set recording options to specify:
    - The t ype of recordi ng you want to perform, such as API, network, or proxy. The recording method you choose determines some of the other recording options you need to set.
    - Script generation options, such as specifying whether you want the script to include datapool commands or think time delays, and whether you want to filter out protocols to control the size of the script.
  2. Start the recording session. With the API recording method, you must start recording first, at which point Robot prompts you for the name of the client. With the other recording methods, network and proxy, you can start recording before or after you start the client.
  3. Start the client application.
  4. Record the transactions. While you are recording the transactions, you can split the session into multiple scripts, each representing a logical unit of work.
  5. Optionally, insert timers, blocks, comments, and other features into the script during recording.
  6. Close the client application.
  7. Stop recording.
  8. Robot automatically generates scripts.

How to create a shell script to Play Back Scripts in Sequence?

  1. Click File > New > GUI Shell Script.
  2. Type a name (40 characters maximum).
  3. Optionally, type a description.
  4. Click OK.
  5. To add scripts, select one or more scripts in the Available list and click > or >>. Robot plays back scripts in the same order in which they appear in the Selected list.
  6. Click OK.

Playing Back a Shell Script

  1. Click Tools > GUI Playback Options.
  2. In the Playback tab, clear the Acknowledge results check box. This prevents a pass/fail result message box from appearing for each verification point. You can still view the results in the log after playback.
  3. Set the other options in the tabs as appropriate.
  4. Click OK.

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