background image
<< support Robot action commands | Synchronizing Pages >>
<< support Robot action commands | Synchronizing Pages >>
Capturing the Properties of Java Applets
Recording Tips
13-15
þ
The current Robot implementation of Navigator record and playback requires
a Web server that allows disk caching. Cache must be enabled on the server for
Netscape record and playback to work.
Recording Tips
This section provides suggestions to help you record scripts in Robot. It contains the
following tips:
þ
Capturing the properties of Java applets in HTML pages
þ
Synchronizing pages
þ
Recording mouse movements
þ
Ensuring browser compatibility
Capturing the Properties of Java Applets in HTML Pages
There are two ways to capture the properties of a Java applet embedded in a Web
page. You can either capture the properties of the entire window, or you can capture
the properties of the applet itself. Either way, you should first click Tools
Extension Manager in Robot to verify that the Java extension is loaded.
To capture the entire window, including the applet:
1. Add an Object Properties verification point.
2. With the Object Finder tool, point to the title bar of the browser window until
Window appears in the TestTip.
3. Click OK.
To capture only the properties of the Java applet:
1. Add an Object Properties verification point.
2. With the Object Finder tool, point to the Java applet until JavaWindow appears
in the TestTip.
3. Click OK.
NOTE: Do not point to the HTMLDocument object type. This object type
provides minimal detail about Java applets.