Several ways exist to create a new test link. You can do this by:
-
Creating a new empty test link: When you create a new test link it is not assigned a value.
-
Click the
button next to the selected decision node, or click the
button in the toolbar, or right-click and then click Add>New Test Link on the shortcut menu to add a test link to the currently selected decision node, see Figure 13.17.
-
Creating a new test link selected from a list of possible test links: For domain links, you can choose the value you want to insert directly from the Add submenu.
-
Right-click and then click Add>a value from the list on the shortcut menu.
- Possible values are all values of the domain less values that are already present in the set of test links, see Figure 13.17.
-
Creating a fully specified link by inserting all possible test links: For domain links, you can choose to add all or all remaining values of the domain to the decision node.
-
Click the
icon in the toolbar or right-click and then click Add>All Domain Values on the shortcut menu, see Figure 13.17. This operation creates a fully specified set of test links.
-
Creating an 'Otherwise' test link: The Otherwise test link represents all cases not covered by existing test links in the node. If none exist, you can add such an item in the currently selected decision node.
-
Right-click and then click Add>'Otherwise' on the decision node shortcut menu, see Figure 13.17.
- or
-
Right-click and then click Set/Unset as Otherwise on the test link shortcut menu to toggle the Otherwise value On or Off, see Figure 13.18.
- A decision node can be assigned one and only one Otherwise test link. Once you have added an 'Otherwise' test link, the option is greyed out in the decision node shortcut menu.
-
Duplicating an existing test link: Click an existing test link (or its target node), press the Ctrl key, and drag the test link and drop it into the desired part of the decision tree.
See Also
Creating a New Decision Node | Domains | Editing a Test Link | Drag and Drop
|