3.18.2. Specifying Test Steps
Prev | 3.18. Information on Test Steps | Next

### 3.18.2. Specifying Test Steps

| You must have created a Test Case (Section 3.12.2, “Creating Test Cases”) in order to create Test Steps.

1. Open the Test Case Editor by double-clicking on the Test Case you want to edit in the Test Case Browser.

2. Create a Test Step from the context-sensitive menu in the Test Case Editor:

   Add-->New Test Step.

   (This adds the Test Step after any other items in the Test Case Editor.)

3. Alternatively, use the option in the context-sensitive menu to insert a Test Step. This inserts the new Test Step above the currently selected item.

4. The New Test Step (Figure 3.26, “New Test Step Dialog”) dialog will appear.

Figure 3.26. New Test Step Dialog

Filling in the Test Step dialog
Test Step name

1. In the Test Step Name field, enter a name for the Test Step. This name is just for recognition purposes, but should be easily identifiable at a later point.

   Component type

2. Select the component you want to test from the combo box.

   | A component is an element of the user interface you can execute an action on, e.g. a button, a text field.

   Component name

3. Enter a component name. This is your user-defined name that you will use to refer to this particular component. It will later be mapped to the real component in the AUT. Again, we suggest using conventions to name components.

4. When you are entering component names, a combo box appears with a list of names you have already used.

   If any of the names are grayed out, this means they have been used for other component types and cannot be used for the currently selected component type.

   You can change, or reassign component names later when you reuse this Test Case. Doing this means that you can execute the same actions on different components in the interface. The section on the Component Names View (Section 3.15.3, “Entering and reassigning component names in the Component Names View”) contains information on reassigning component names.

   Action

5. From the combo box, choose the action you want to execute on this component.

   | Refer to the chapter on Components, Actions, and Parameters for information on components, the actions they support, and their parameters.

6. Click ”OK”.

7. The Test Step will appear as nested in the Test Case.

   | You can change the position of Test Steps using drag-and-drop.

   You can see and edit the details of any selected Test Step in the Properties View.

   The next step is to add parameter values (data) for Test Steps in the Properties View (Section 3.14, “Working with test data”).