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?
- If necessary, open a script by clicking File > Open> Script.
- 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).
- Click once to insert a blinking text cursor. (You can also highlight the entire line
or any part of the line.)
- 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.
- 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.
- 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.
- 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.
- Start the client application.
- Record the transactions. While you are recording the transactions, you can split
the session into multiple scripts, each representing a logical unit of work.
- Optionally, insert timers, blocks, comments, and other features into the script
during recording.
- Close the client application.
- Stop recording.
- Robot automatically generates scripts.
How to create a shell script to Play Back Scripts in Sequence?
- Click File > New > GUI Shell Script.
- Type a name (40 characters maximum).
- Optionally, type a description.
- Click OK.
- 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.
- Click OK.
Playing Back a Shell Script
- Click Tools > GUI Playback Options.
- 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.
- Set the other options in the tabs as appropriate.
- 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
|