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 modify or delete a custom class name?
- Click Tools > General Options, and then click the Object Mapping tab.
- From the Object type list, select the standard object type that is associated with
the object class name.
Robot displays the class names already available for that object type in the
Object classes list.
- From the Object classes list, select the name to modify or delete.
- Do one of the following:
. To modify the class name, click Modify. Change the name and click OK.
. To delete the object class mapping, click Delete. Click OK at the
confirmation prompt.
- Click OK.
Pausing and Resuming the Recording of a Script
To pause recording:
--Click the Pause button on the GUI Record toolbar. Robot indicates a paused
state by:
----Depressing the Pause button.
----Displaying Recording Suspended in the status bar.
----Displaying a check mark next to the Record > Pause command.
To resume recording:
-- Click Pause again.
----Always resume recording with the application-under-test in the same state that
it was in when you paused.
Robot has two recording modes
1. Object-Oriented Recording mode
Examines objects in the
application-under-test at the Windows layer during recording and playback.
Robot uses internal object names to identify objects, instead of using mouse
movements or absolute screen coordinates. If objects in your application’s
graphical user interface (GUI) change locations, your tests still pass because the
scripts are not location dependent. As a result, Object-Oriented Recording
insulates the GUI script from minor user interface changes and simplifies GUI
script maintenance.
2. Low-level recording mode
Tracks detailed mouse movements and keyboard
actions by screen coordinates and exact timing. Use low-level recording when
you are testing functionality that requires the tracking of detailed mouse actions,
such as in painting, drawing, or CAD applications.
To switch between the two modes during recording, do one of the following:
------Press CTRL+SHIFT+R.
------Click the Open Robot Window button on the GUI Record toolbar (or press
CTRL+SHIFT+F) to bring Robot to the foreground. Click Record > Turn
Low-Level Recording On/Off.
How to end the recording of a script?
Click the Stop Recording button on the GUI Record toolbar.
How to define script properties?
- Do one of the following:
. If the script is open, click File > Properties.
. If the script is not open, click File > Open > Script. Select the script and
click the Properties button.
- In the Script Properties dialog box, define the properties.
For detailed information about an item, click the question mark near the
upper-right corner of the dialog box, and then click the item.
- 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
|