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.

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 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. 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.

Parent topic: Recording a test

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