Prev | Next |
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 (to quickly set up or change test records, and perform operations on them)
- The 'Test details' dialog (To create test records with more Notes information, which you can also add through the Notes window)
- The Properties window for Test items (to edit the properties of existing tests - see the Properties window for Test Items Help topic)
Whichever type of test you are recording, you complete effectively the same fields.
Access
Ribbon |
Construct > Testing > Tests > <test class> : overtype Add new <testtype> (Testing window) |
Keyboard Shortcuts |
Click on the element : Testing window) > Testing : <test class> : overtype Add new <testtype> ( Click on the element on a diagram | Press the (Testing window) |
Other |
On the Testing window, click on the |
Create a test record in the Test details dialog
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 do not have auto-counter text configured, an information message displays. 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 |
Class |
This defaults to the class of test you selected in displaying the dialog. If this is not the class you require, click on the drop-down arrow and select the appropriate value. |
|
Type |
Click on the drop-down arrow and select the value indicating the type of test (Load, Regression or Standard). |
|
Run Date |
Click on the check box and then on the drop-down arrow and select the date on which the test is to be run (or when it was last run). |
|
Run By |
Click on the drop-down arrow and select the name of the person who is to run, or has run, the test. (Possible values are derived from the Project Author definitions in the 'People' dialog - select the 'Configure > Reference Data > Model Types > People > Project Authors' ribbon option.) |
|
Result |
Click on the drop-down arrow and select the value indicating the current status of the test (Not Run, Pass, Fail, Deferred or Cancelled). |
|
Checked By |
Click on the drop-down arrow and select the name of the person who is to check, or has checked, the results of the test. |
|
Description |
Type a description of the test; you can format the text using the Notes toolbar at the top of the field. The text you type here is also shown in the Notes window, under the 'Description' heading. |
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. The text you type here is also shown in the Notes window, under the 'Input' heading. |
|
Acceptance Criteria |
Type the acceptance or test success conditions; you can format the text using the Notes toolbar at the top of the field. The text you type here is also shown in the Notes window, under the 'Acceptance Criteria' heading. |
|
Results |
Type the results of the last test; you can format the text using the Notes toolbar at the top of the field. The text you type here is also shown in the Notes window, under the 'Results' heading. |
|
Apply ![]() |
Click on this button to save the data you have entered and to add the entry to the Testing window and the Browser window, keeping the 'Test details' dialog open. |
|
OK |
Click on this button to save all new data and close the 'Test details' dialog. |
|
New |
Click on this button to clear the data entry fields ready for defining another test. |
|
left chevron/right chevron |
If there are existing tests, click on these buttons to display the details of the previous test or next test in the sequence. |
|
Close |
Click on this button to discard all unsaved data and close the dialog. |
Create a test record in the Testing window
Depending on your screen width and the fields you have exposed in the Testing window using the 'Field Chooser' dialog, you might need to scroll the window left and right to see all fields. As it is possible to change the sequence of fields across the window, the fields might not be in the order as documented.
Field/Button |
Action |
See also |
---|---|---|
<test class> drop down in Toolbar |
Click on the drop-down arrow and select the appropriate test class for the new test. |
|
Test |
Overtype the Add new <test type> text with the name of the new test. |
|
Status |
Click on the field and on the drop-down arrow, and select the appropriate status. |
|
Test Class |
Defaults to the same class as shown in the Toolbar field. If you decide that this test is of the wrong class, you can either change the Toolbar field and continue creating further tests of the new class, or click on the drop-down arrow and select the correct class for this test only, continuing to create further tests of the original class. |
|
Type |
Click on the drop-down arrow and select the appropriate test type - Load, Regression or Standard. |
|
Run By |
Click on the drop-down arrow and select the name of the person who ran - or will run - the test. |
|
Checked By |
Click on the drop-down arrow and select the name of the person who checked - or will check - the results of the test. |
|
Description |
Type in a short description or explanation of the test. |
|
Last Run |
Type in the date on which the test was last executed, in dd/mm/yyyy format. |
Notes
- When you display the Testing window for an element and double-click on the item, the details display in the 'Test Details' dialog where you can edit them
- To delete an item, click on it on the Testing window and click on the in the window toolbar; in response to the confirmation prompt, click on the
- A further possibility for generating and editing Test items is to right-click on the Testing category in the 'Details' tab of the Inspector window - or the required item within the list - and select menu options to perform the required operation
- To change the element for which to create or edit test items, click on the element in a diagram or the 'Project' tab of the Browser window
- In the Corporate, Unified and Ultimate Editions of Enterprise Architect, if security is enabled you must have 'Manage Tests' permission to add, update and delete test records