After you create a test or open an existing test, you can manipulate its contents in the test editor. The test editor displays the test and its phases to the right of the Test Factory tree.
Add an action to a test by clicking it in the Actions palette, which is the horizontal toolbar that is located above the test editor.
The selected action is inserted below the currently selected phase or action.
Alternatively, you can add actions from the test editor menu by right-clicking the phase or step after which you want to insert an action. Actions are available by group under the New menu item.
Edit a test action by double-clicking it in the test editor, or by right-clicking and selecting Open from the action’s menu. If the Action Editor is enabled, you can edit test actions inline, underneath or to the right of the test editor (see The Action Editor).
The details of individual test actions are described in Actions.
Delete a test action by selecting Delete from the action’s menu, or by selecting the action and pressing the Delete key.
When you are working in the Business View, you can rename a test’s label or any of the actions in its various phases. You can name the test and any wanted test actions in a way that can be easily understood by other users.
To rename an action, select Rename from its menu or select the action and press F2.
When you are working in a test, you can change any existing messaging actions, except Unsubscribe, to another type of messaging action.
To change an existing action, right-click the action and select the new action type under Change Action Type in the action’s menu.
You can cut, copy, and paste test actions can be by using the action’s menu. When you paste, the action that is pasted is inserted below the phase or action that is selected.
You can reorder test actions by moving them up or down the list of existing actions. You can move a test action by selecting Move Up or Move Down from the action’s menu, or you can drag an action and drop it into a new position within the test.
When you are using drag and drop, you can select multiple test actions (sequential or non-sequential) and move them to a new position within the test.
By default, every test action is enabled in a test when it is first added. However, you can disable a test action in order to skip its execution within the test without having to remove it.
To change the state of test actions, select them, right-click any of the actions, then select the wanted state (Enable or Disable) from the menu. To select multiple actions, use Shift or Ctrl. If all the selected actions are in one state, then only the opposite state is available in the menu (for example, if all actions are enabled, then only Disable appears in the menu). If the selected actions are currently in a mixture of states, then both the Enable and Disable options are available.
If you are using the docked action editor, you can toggle the state of the selected test action by using the Enabled check box in the editor.
Save messaging test actions (for example, Publish or Subscribe) as requirements by dragging them from an open test and dropping them into a valid branch within the tree in the Requirements or Test Factory perspective. The contents of the message (that is, header options, transport, and so on) in the selected action is reproduced in the new message. The new message is named according to the description of the action that created it.
In the example below, the Publish action was dragged into the "Op" operation. The resulting message was then named according to the Publish action’s description.