Recording a test

The Hyades proxy recorder records your interactions with a browser-based application and automatically starts a test generator application that produces a test that can be directly run or edited and then run.

Before beginning, verify that:

To record an interaction with a Web-based application:
  1. Open the Test perspective.
  2. Start the recorder:
    1. Click File > New > Other. The New dialog box opens.
    2. In the left pane, expand Test and click Recording.
    3. In the right pane, click Hyades HTTP Proxy Recorder.
    4. Click the Next button. The HTTP Proxy Recorder dialog box opens.
    5. In the Recording file name: field, type the name of the file that will contain the recording, or select the default (the name of the file that contains the previous recording). Do not enter a suffix: a .rec suffix is automatically appended.
    6. Click Next. The Test Generation dialog box opens.
    7. In the Test file name: field, type the name of the file that will contain the generated test, or select the default (the name of the file that contains the previously generated test). Do not enter a suffix: a .testsuite suffix is automatically appended.
    8. Click Finish. After a brief delay, your browser starts.
  3. In your browser's address: field, type the URL of the Web-based application you want to test and click Go. Now perform a task that you want to test. If you enter the URL of a secure web site (beginning https:), a security alert appears: enter Yes to continue.
  4. When you have completed the task to be tested, stop the recorder. You can do this by closing your browser or by clicking the round Stop button on the right side of the Recorder Control viewer bar. The KBytes received: field displays the number of kilobytes captured, the message test generation completed is displayed, and the Test Navigator lists your test.
  5. To record additional interactions with the application under test, go the step 2 and repeat this procedure as many times as needed.

Parent topic: Testing browser-based applications - quick start
Next topic: Editing a test