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 Performance Test projects (Java projects that include a source folder). If no project exists in your workspace, the test creation wizard creates a Performance Test project, 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 Performance Test projects, see Creating a performance test project.

To record a test:
  1. Start your browser.
  2. Start the recorder.
    1. Click File > New > Record Performance Test, or you can click the Record button.

      If one or more projects exist, the HTTP Proxy Recorder dialog box, shown below, opens with all projects listed. If no projects exist, a new project is created and a similar dialog box opens allowing you to change its name.

      If the New menu does not display the Record Performance Test option, this indicates that you are not in the Test perspective. You can switch to the Test perspective or you can select File > New > Other > Test > Recording > Record Performance Test.



    2. 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.
    3. 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.
    4. 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.

Parent topic: Recording a test

Terms of use | Feedback
(C) Copyright IBM Corporation 2005. All Rights Reserved.