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.
With the AutoQuote visual test 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 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.