In the previous lesson, you created a modular script by inserting AddAccount into the AutoQuote script.
In this section of the lesson, you will play back the modular script and encounter an error during playback.
With the AutoQuote script open, click
Playback on the toolbar.
The
Playback dialog box opens.
In the
Result description text box, type
Responding to errors in a modular test.
Click
OK.
If multiple browsers that are supported for replay 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 script, the email address already exists in the database and the
test fails.