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

Working On Test Records

Creating and working on element Test records is quick and convenient, using the Testing window or Workspace. If the Testing window is open, when you select an element in a diagram or in the Project Browser, the tests for that element are immediately listed in the window ready for modification or addition. The window provides several facilities for creating and managing the test records.

Access    Element | Testing   (Alt+3)




See also

Window Formats

The Testing window has two formats - Item mode and List mode.

Item mode provides a list on the left hand side from which you select a test record, the details of which then display in the fields in the rest of the window; you can edit these fields directly
List mode consists of a list of test records with summary data distributed across the columns; you cannot directly edit these fields

To toggle between the modes, click on the showhidetest (Show/Hide Properties) button in the window toolbar.



Adding New Items

To add new items, click on the New icon in the window toolbar. In:

Item mode, this clears the fields for new data
List mode, this displays the Test Details dialog, which you complete in the same way as the Testing window in Item mode



Create Test Records


Applying Automatic Naming/Numbering

On the Testing window in Item mode, or on the Test details dialog, you can apply an automatic naming/numbering convention that you have previously defined, to each new test record. To do this, simply click on the Auto button next to the Test field.

If you already have some text in the Test field, it is over-written by the auto-counter text.


Set Auto Naming and Auto Counters

Test Types

The five types of test you can create records for are each managed on a separate tab of the window:

Unit tests - to test Classes, Components and other elements as programmers build them
Integration tests - to test how the constructed components work together
System tests - to test that the system performs the right business functions correctly
Acceptance tests - to test the system against user requirements
Scenario tests - to test the application with real-world situations and scenarios; an end-to-end test of all functions


The Testing window opens at the Unit test tab by default.

The fields you complete for each type of test are identical.

An asterisk on a tab indicates that the tab contains saved information; if there is no information for a type of test, or the information has not yet been saved, its tab has no asterisk.

You toggle the display for each tab between Item mode and List mode independently.



Element Browser

You can also use the Element Browser window to select and display specific items on the Testing window; click on the EBIcon icon in  the Testing window toolbar to display the Element Browser, open the Testing folder and select the required test record.

In the folder, the 'page' icon against each record contains a:

U for  Unit Test items
I for Integration Test items
Sy for System test items
A for Acceptance Test items
Sc for Scenario Test items


Element Browser


In the Corporate, Business and Software Engineering, System Engineering and Ultimate editions of Enterprise Architect, if security is enabled you must have Manage Tests permission to add, update and delete test records
The Testing window can be docked to the application workspace
Columns in the List mode can be reorganized, added, removed, grouped, filtered and sorted using the options provided in the List Header facilities

Learn more

Learning Center topics

(Alt+F1) | Testing | Testing | Testing Workspace