Recording with Internet Explorer

The recording wizard automatically starts Internet Explorer and configures it for recording.

The behavior of the recording wizard is controlled by recorder preferences. To inspect the current settings, go to Window > Preferences > Test > HTTP Proxy Recorder. This procedure assumes that the defaults are set.

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 .

To record a test:
  1. 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. A progress window opens while Internet Explorer starts.
  2. To ensure a recording that accurately captures all of the HTTP traffic generated by visits to a Web server, clear your browser's cache:
    1. Select Tools > Internet options. The Internet Options window opens.
    2. In the Temporary Internet files area, click Delete Files. The Delete Files window opens.
    3. Check Delete all offline content and click OK.
    4. Click OK to close the Internet Options window.
  3. 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.
  4. When you have completed the task to be tested, stop the recorder. You can do this by closing Internet Explorer or by clicking Stop icon on the right side of the Recorder Control view 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.