For automation interface information about a Test Identity Action, see
Action node (automation interface). For automation interface purposes, a Test Identity Action is an Action Node that has its Node Type set to Test Identity Action.
A Test Identity Action is an action that tests if two values are identical objects. This action returns true if the two input values are the same identity, false if they are not.
Create a Test Identity Action through a Modeler explorer pane or an Activity Diagram:
• In a Modeler pane, right-click an Activity or Structured Activity Node, point to New, point to Action Node, and then click Test Identity Action.
• On an Activity Diagram: click the Test Identity Action toolbar button, and then click in free space or inside an Activity Partition, Interruptible Activity Region or Structured Activity Node.
To access the Test Identity Action toolbar button, click the arrow in the split button that is to the right of the Accept Event Action button.
On creation of a Test Identity Action, Modeler creates two Input Pins and an Output Pin:
• The two Input Pins are named First Input Pin and Second Input Pin.
• The Output Pin is named Result Pin, and its data type is set to a Type Definition named Boolean (if required, Modeler creates this Type Definition).
You cannot delete the Output Pin or Input Pins, and you cannot create any other Output Pins or Input Pins on a Test Identity Action.
When used on an Activity Diagram, a Test Identity Action's notation is as follows.
The View Options on an Activity Diagram allow you to show or hide the Name, Action Type and Linked Item Name (not applicable). By default, the Action Type is shown. The view options are set through the Action Node entry. See
Action node view options - activity diagram.
On an Activity Diagram, you can populate a Test Identity Action's missing Activity Flows, Output Pins, Comments and Constraints: right-click the Test Identity Action, point to Populate, and then click the appropriate command.
In the Dictionary pane, Test Identity Actions are listed in the UML\Action Nodes folder.
In the Modeler panes, a short-cut symbol on the Test Identity Action's icon indicates that the item is a
stub.
The following sections provide information about how a Test Identity Action is used in the model.
Properties
In addition to the standard properties a Test Identity Action has these properties:
Control Flow — The Control Flow is owned jointly by the Test Identity Action and the associated item. The access permissions you have to a Control Flow are determined by the access permissions you have to its source item.
Dependency — The Dependency is owned jointly by the Test Identity Action and the other associated item. The access permissions you have to a Dependency are determined by the access permissions of the dependent item.
Exception Handler — The Exception Handler is owned jointly by the Test Identity Action and the associated item. The access permissions you have to an Exception Handler are determined by the access permissions you have to its source item.
Input Pin — Only the Input Pins that Modeler creates on creation of the Test Identity Action.
IO Flow — The IO Flow is owned jointly by the Test Identity Action, the IO Flow's other linked item and the IO Flow's IO Item.
Output Pin — Only the Result Pin that Modeler creates on creation of the Test Identity Action.