background image
<< Recording Transactions | Using Netscape Navigator >>
<< Recording Transactions | Using Netscape Navigator >>

Ensuring Browser Compatibility

Enhancing Object Recognition of HTML Elements
14-17
4. Move the pointer over the portion of the page that is affected by the mouse
movement.
5. Press
CTRL
+
SHIFT
+
R
to stop low-level recording mode.
6. Insert an Object Properties verification point.
For more information about low-level recording, see Switching to Low-Level Recording
on page 2-21.
Ensuring Browser Compatibility
To help ensure that scripts recorded in Navigator play back as expected in Internet
Explorer, observe the following recording tips:
When creating scripts to be used in cross-browser testing, record the script in
Navigator and play it back in Internet Explorer.
Do not click the scroll bars during recording. If you need to scroll, pause the
recording, scroll the window, and then resume recording.
Avoid using the Forward or Back toolbar buttons when recording scripts to be
used for cross-browser testing. If you find it necessary to use them, edit your
script by replacing the toolbar clicks with the following commands:
Browser Back, "",""
Browser Forward, "",""
For more information, see the SQABasic Language Reference.
Exit either browser by clicking the Close button in the upper-right corner of the
window, rather than by clicking File >
Close.
Enhancing Object Recognition of HTML Elements
Robot uses recognition methods to identify HTML elements in the
application-under-test. These recognition methods are saved as arguments in scripts
to help Robot identify these elements during playback. For example, Robot can
identify a link by the visible text of the link -- that is, the text that a user clicks. If this
text changes after a script has been recorded, the script may fail when it is played
back.
NOTE: When you use Robot to record against an HTML page, allow the page to
become fully loaded by the browser before you perform or record mouse or
keyboard actions.