3.10.4. Adding items to editors
Prev | 3.10. Working with editors: opening, adding/deleting/renaming items, commenting, adding descriptions, extracting and replacing, reverting changes | Next

### 3.10.4. 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.

      | 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

      | You can also press »ENTER« in the editor to open the Reference Existing Test Case dialog.

      Using this dialog (Figure 3.17, “Add Test Case reference dialog”), 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.17. Add Test Case reference dialog

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 (Section 3.10.6, “Renaming items in editors”).

| You can’t add items which would cause an infinite loop.