Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Insert Testing Features

You can add test records such as Unit, Integration, System, Acceptance, Inspection and Scenario tests directly to an element displayed on a diagram.

Add testing features to an element directly from a diagram



See also


Open the diagram containing the element.


Click on the element.

The element name is highlighted in a lighter shade (the default is white), to indicate that it has been selected.

A UML Class element in Sparx Systems Enterprise Architect showing its name selected for in-place editing tasks.


Either press Ctrl+F11 or right-click on the highlighted name and select the 'Add Other' option

The 'Insert Feature' dialog displays.


Click on the appropriate radio button option to associate the required testing feature with the element.


Click on the OK button.

The 'Test Details' dialog opens.


Complete the fields to define the test activity, and then click on the Apply button.

The test is added to the element.


To create a subsequent test activity of this type, click on the New button.

A UML Class element in Sparx Systems Enterprise Architect showing a test scripts compartment showing the test status of this element.


  • To ensure that the test items are visible in the diagram element, as shown in step 7, select the 'Testing' checkbox on the 'Elements' tab of the 'Properties' dialog for the diagram

Learn more