Recording with Mozilla, Netscape, or another browser

If you record with a browser other than Internet Explorer, you start it as well as the recorder.

Browsers other than Internet Explorer must be configured for test recording. Configuring your browser for test recording explains Mozilla and Netscape configuration. If you use a different browser, consult that browser's proxy configuration documentation.

If you use a Windows computer and you want to use a browser other than Internet Explorer, first go to Window > Preferences > Test > HTTP Recording and change the Application to record setting from Internet Explorer to None. Then configure your browser for test recording. On Linux computers, None is the default browser setting so you need not change it.

Before beginning, verify that the Agent Controller is running on the local machine. For instructions on how to start the Agent Controller, see Administering the Agent Controller.

Tests are stored inside Java projects. If no Java project currently exists in your workspace, the test creation wizard creates one, allowing you to change its name. If you want to store a test in a specific project, verify that it exists before beginning. For instructions on how to create a Java project, see Creating Java elements.

To record a test:
  1. Start your browser.
  2. Start the recorder.
    1. Click File > New > Other. The New dialog box opens.

    2. In the Wizards list box, expand Test and click Test From Recording
    3. Click the Next button. The Create New Test From Recording dialog opens up.
    4. Select Create Test From New Recording to create a new recording. Highlight HTTP Recording from the Select Recorder window.
    5. In the list of projects, click the one in which to store this test and related files. The icon identifies projects that are suitable for containing tests. Tests stored in other project types will not run.
    6. In the Recording file name field, type a name for the test. The name you type is the base name for the recording, test, and other required files. You see these files in the Java or Resource perspectives with their distinguishing suffixes, but you see only the simple (test) name in the Test Navigator.
    7. Click Finish
  3. Clear your browser's cache. The following instructions are for Mozilla and Netscape. If you use a different browser, consult its documentation.
    1. Click Edit > Preferences. The Preferences window opens.
    2. Expand Advanced and click Cache.
    3. In the Set Cache Options area, click Clear Cache.
    4. Click OK to close the Preferences window.
  4. In your browser's address box, type the URL of the Web-based application that you want to test and activate it. Now perform a task that you want to test. If you enter the URL of a secure web site (beginning https:), your browser might display a security alert. Depending on the site's security certificate, you might be required to accept a security risk to proceed with the recording.
  5. When you have completed the task to be tested, stop the recorder by clicking on the right side of the Recorder Control viewer bar.

    A progress dialog box opens while the test is generated. On completion, the Recorder Control viewer displays the message test generation completed, the Test Navigator lists your test, and the test opens in the test editor.

Parent topic: Recording a test

(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.