3.16.1 Specifying Test Steps

\includegraphics[height=2cm]{lightbulb} You must have created a Test Case 3.11.1 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 (3.21) dialog will appear.

Figure 3.21: New Test Step Dialog
Image teststepdialog

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.

    \includegraphics[height=2cm]{lightbulb} 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 5.2.2.

  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 3.13.2 contains information on reassigning component names.

    Action

  5. From the combo box, choose the action you want to execute on this component.
    \includegraphics[height=2cm]{lightbulb} Refer to the chapter on Components, Actions, and Parameters (-->Reference Manual [*]) 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 .
    \includegraphics[height=2cm]{lightbulb} 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 3.12.



Copyright BREDEX GmbH 2012. Made available under the Eclipse Public License v1.0.