3.7.2 Adding items to editors

You can add (reference) Test Cases in other Test Cases and in Test Suites . You can also add (reference) Test Suites in Test Jobs .

To add items to an editor:

  1. Open the editor by double-clicking the item you want to add things to.
  2. You can now:
    1. Add items via drag and drop from the browser into the editor:

      Test Cases :
      Test Cases can be added to other Test Cases and Test Suites by selecting the Test Case from the Test Case Browser and dragging it into the editor.

      Test Suites :
      Test Suites can be referenced in Test Jobs by selecting the Test Suite to reference from the Test Suite Browser and dragging it into the Test Job Editor .

      \includegraphics[height=2cm]{lightbulb} Once you have added a Test Suite to a Test Job , you must enter the AUT ID for the AUT to be tested in the Properties View .

    2. For Test Cases , you can also use the Reference Existing Test Case dialog. Using the context-sensitive menu in the editor, select:

      Reference Existing Test Case

      \includegraphics[height=2cm]{lightbulb} You can also press »ENTER« in the editor to open the Reference Existing Test Case dialog.

      Using this dialog 3.13, you can choose a Test Case or Test Cases to add to the editor. You can filter in through the dialog using the field at the top. Use star "*" as a wild card.

      Figure 3.13: Add Test Case reference dialog
      Image referencetestcasedialog

Items you reference in editors are marked with a small arrow to show that they are reused (referenced) here. The name of the item is contained in angled brackets ("< >") to show that it is the same name that you used when you specified the Test Case . Items can be renamed to reflect their particular use in this editor 3.7.4.

\includegraphics[height=2cm]{danger} You can't add items which would cause an infinite loop.



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