Playing Back the Modular Test

In the previous lesson, you created a modular test by inserting one visual test, AddAccount, into another visual test, AutoQuote.

In this section of the lesson, you will play back the modular test and encounter an error during playback.

  1. With the AutoQuote visual test open, click Playback on the toolbar. The Playback dialog box opens.
  2. In the Result description text box, type Responding to errors in a modular test.
  3. Click OK.
  4. If multiple supported browsers are installed on the machine, the Select Browser dialog box opens. Select the browser and click Run. During playback, the test stops on the Create A New Account page and an error message opens. This error occurs because the database requires a unique email address for each customer record. Since you have already entered the email address during the recording of the AddAccount visual test, the email address already exists in the database and the test fails.

Now that you have encountered a playback error, you are ready to debug the test.