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 Mozilla or Netscape 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 Windows > Preferences > Test > HTTP Proxy Recorder 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.

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 .

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 Recording and click HTTP Proxy Recorder.
    3. Click the Next button. If one or more Java projects exist, the HTTP Proxy Recorder, shown below, opens. If no Java projects exist, a new project is created and a similar dialog box opens allowing you to change its name.

    4. In the list of projects, click the one in which to store this test and related files. The Java icon icon identifies projects that are suitable for containing tests. Tests stored in other project types will not run.
    5. 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 base Navigator or the Java Package Explorer with their distinguishing suffixes, but you see only the simple (test) name in the Test Navigator.
    6. Click Finish
  3. To ensure a recording that accurately captures all of the HTTP traffic generated by visits to a Web server, 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 the link. 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 stop icon on the right side of the Recorder Control viewer bar.

    A progress window opens while the test is generated. On completion, the Recorder Control view displays the message Test generation completed, the Test Navigator lists your test, and the test opens in the test editor.
(C) Copyright IBM Corporation 2000, 2004. All Rights Reserved.