Create Test Records

When you need to create or edit a test record on an element, for any of the five 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 complete the same fields.

Access    Select element | Element | Testing    (Alt+3) > <test type tab> > Item mode: New toolbar icon   or
Select element | Element | Testing    (Alt+3) > <test type tab> > 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 Cancelled).

 

 

Type

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

 

 

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 Date

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

 

 

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 new 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