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?
- In Robot, click File > New > Script.
- Type a script name (40 characters maximum) and, optionally, a description of the
script.
- Click GUI.
- 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
- Begin coding the GUI script.
How to add a new action to an existing script?
- If necessary, open the script by clicking File > Open > Script.
- If you are currently debugging, click Debug > Stop.
- 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.
- 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.
- 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?
- If necessary, open the script by clicking File > Open > Script.
- If you are currently debugging, click Debug > Stop.
- 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.
- 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.
- Click the appropriate button on the GUI Insert toolbar.
- Continue adding the feature as usual.
How o batch compile scripts and library source files?
- Click File > Batch Compile.
- 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.
- 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.
- 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.
- 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
|