background image
<< Lesson 8 Dividing Tests into Multiple Actions | QuickTest begins recording >>
<< Lesson 8 Dividing Tests into Multiple Actions | QuickTest begins recording >>
Split Action
Lesson 8 Dividing Tests into Multiple Actions
70
To divide your test into calls to different actions, you can insert a call to a
new action, split an existing action into calls to two actions, insert a call to a
copy of an existing action, or insert a call to an existing action.
You can insert calls to actions into your test during your recording session or
afterwards. Use one of the following menu options or toolbar buttons to add
actions to your test:
Insert > Call to New Action or use the Insert Call to New Action button.
Step > Split Action or use the Split Action button.
Insert > Call to Copy of Action or right-click an action and choose Insert Call
to Copy of Action.
Insert > Call to Existing Action or right-click an action and choose Insert Call
to Existing Action.
Creating New Actions
In this exercise you will create a test and divide it into three action calls.
Recording the Test
1 Start QuickTest and open a new test.
For more information, see step 1 of "Recording a Test" on page 10.
2 Start recording on the Mercury Tours Web site.
In the coming steps, you will record a test similar to the one recorded in the
"Recording Tests" lesson. However, this test is designed slightly differently
to optimize the test for a multi-action test.
Confirm that all Web browsers are closed.