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

Create Test Records

When you need to create or edit a test record on an element, for any of the six types of test, you can do so using either the Testing window in Item mode, or the Test details dialog. The Test details dialog displays when you select the New option or double-click on a test entry on the Testing window in List mode.

Whichever type of test you are recording, and whichever dialog you use, you effectively complete the same fields.

Access    Select element | Element | Testing | <test class> > Item mode: New toolbar icon   or
Select element | Element | Testing | <test class> > List mode (:Show/Hide Properties if necessary): New toolbar icon

Create a test record

Field/Button

Action

See also

Test

Type the name of the test. This can be any alphanumeric text string you want to use.

 

 

Auto

As an alternative to typing in the name, click on this button to insert predefined auto-counter text.

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

Status

Click on the drop-down arrow and select the value indicating the current status of the test   (Not Run, Pass, Fail, Deferred and Canceled).

 

 

Type

Click on the drop-down arrow and select the value indicating the type of test (Load, Regression or Standard).

 

 

Class Type

(Class on the Test details dialog)

This field defaults to the class of test selected in the drop-down field at the left of the Testing window Toolbar - Unit, Acceptance, Scenario, Integration, Inspection or System.

If you are creating a different class of test, click on the drop-down arrow and select that class.

 

 

Run By

Click on the drop-down arrow and select the name of the person who ran the test.

 

 

Checked By

Click on the drop-down arrow and select the name of the person who checked the test run.

 

 

Last Run

(Run Date on the Test Details dialog)

 

Click on the drop-down arrow and select the date on which the test was last run.

 

Result

(Test Details dialog) Click on the drop-down arrow and select the value indicating the results of the test (Not Run, Pass, Fail, Deferred and Canceled).

 

 

Append to Test Result

 

(Test Details dialog) Select this checkbox to reproduce the Test Run data in the Results tab for the test.

 

Description

Type a description of the test; you can format the text using the Notes toolbar at the top of the field.

This text is also reflected in the Notes window, but cannot be edited there.

 

 

 

 

 

 

 

 

Notes Toolbar

Input

Type in the input data provided to the test; you can format the text using the Notes toolbar at the top of the field.

This text is also reflected in the Notes window, but cannot be edited there.

 

Acceptance Criteria

Type the acceptance or test success conditions; you can format the text using the Notes toolbar at the top of the field.

This text is also reflected in the Notes window, but cannot be edited there.

 

Results

Type the results of the last test; you can format the text using the Notes toolbar at the top of the field.

This text is also reflected in the Notes window, but cannot be edited there.

 

Previous

(Test Details dialog) If earlier test records exist, click on this button to reset the fields to the values of the previous test record.

 

 

Next

(Test Details dialog) If you are looking at an earlier test record, click on this button to reset the fields to the values of the next most recent test record.

 

 

New

(Test Details dialog) Click on this button to clear the fields so that you can enter the information for a new test record.

 

 

OK

(Test Details dialog) Click on this button to save the new or changed data and close the dialog.

 

 

Close

(Test Details dialog) Click on this button to close the dialog without saving the new or changed data.

 

 

Apply

(Test Details dialog) Click on this button to save the new or changed data without closing the dialog.

 

 

Notes

·On the Test Details dialog, you can add multiple test cases in one batch using the New and Apply buttons
·On the Test Details dialog, if you have several tests of one category (such as Unit or Integration), once you have saved a new test (click on the Apply button) or displayed an existing test, you can work backwards and forwards through any other existing tests of that category, by clicking on the Previous and Next buttons
·To display an existing item for editing, click on the item in the left-hand panel in Item mode, or double-click on the item in List mode to display the Test Details dialog
·To delete an item,  right-click on it on the Testing window and click on the Delete icon in the window toolbar; in response to the confirmation prompt, click on the Yes button
·A further possibility for editing and deleting items is to right-click on items in the Element Browser and select menu options there; to access an item through the Element Browser, click on the EBIcon icon in the Testing window toolbar and click on the required item in the Testing folder in the Element Browser window
·To change the element for which to create or edit test items, click on the element in the Project 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