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
Robot Support for Java.
Rational Robot provides comprehensive support for testing GUI components in both
Java applets and standalone Java applications. With its Object Testing technology,
Robot examines the data and properties of Java components. This means that
Robot can do the following:
--Determine the names of components in your program, and use those names for
object recognition.
--Capture properties of Java components with the Object Properties verification
point.
--Capture data in Java components with the Object Data verification point.
To make Java applets and applications testable, you need to Run the Java Enabler. How?
1. Make sure that Robot is closed.
2. Click Start > Programs > Rational product name > Rational Test >
Java Enabler.
3. Select one of the available Java enabling types.
4. Select the environments to enable.
5. Click Next.
6. Click Yes to view the log file.
How to verify that the Java extension is loaded?
1. Start Robot.
2. Click Tools > Extension Manager.
3. Verify that Java is selected. If not, select it.
4. To improve the performance of Robot, clear the check boxes of all environments
that you do not plan to test.
5. Exit Robot.
How to test a Java component’s data?
1. Start recording in Robot.
2. Open the Java applet or application that you want to test.
3. Navigate to the page that you want to test.
4. Start creating the Object Data verification point.
5. Assign a name, wait state, and expected result for the verification point and then
click OK.
6. In the Select Object dialog box, drag the Object Finder tool over the page until
the component you want to test appears in the TestTip.
7. Release the mouse button.
8. If the dialog box is still open, click OK.
9. If the Object Data Tests dialog box appears, select the data test to use and
click OK.
10. Complete the verification point as usual.
How too test the contents of a Java panel?
1. Start recording in Robot.
2. Open the Java applet or application that you want to test.
3. Navigate to the page that you want to test.
4. Start creating the Object Data verification point.
5. Assign a name, wait state, and expected result for the verification point and then
click OK.
6. In the Select Object dialog box, drag the Object Finder tool over the page until
JavaPanel appears in the TestTip.
7. Release the mouse button.
8. If the dialog box is still open, click OK.
9. If the Object Data Tests dialog box appears, select the data test to use and
click OK.
10. Complete the verification point as usual.
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
|