Test Segments are grouped, predefined and encapsulated test case steps that can be used and reused in test cases.
Test Segments may be created, removed, duplicated, updated on this page. The displayed test segments may be filtered and sorted as shown in Section 5.2.6, “Filtering and Sorting” .
The Test Segments screen shows a table with all of the test segments defined for the current project. Each row of the table represents a test segment, the columns represent attributes of the test segment. The name of the test segment can be directly edited. More attributes of a test segment and its steps can be edited in on the test segment details page by clicking on the Edit icon ( Section 6.6.3, “Test Case Details” ).
The leftmost column allows test segments to be selected for bulk actions. The uppermost checkbox is a global select button, which selects or deselects all elements shown in the table. Please note that the displayed elements are subject to the current search criteria.
Clicking on the delete icon removes the test segment.
Some bulk actions are available on the Test Segment page. Bulk actions are described in Section 5.2.11, “Bulk Actions” .
The bulk actions available on this page are: Edit , Print , Delete , Duplicate and Create new Revisions . The bulk action buttons can be found above the table on the left.
Clicking the Figure 6.36 ). An empty row is added at the beginning of the table. The fields Name and Traceability of the test segment can be specified. The test segment ID is automatically assigned by Klaros-Testmanagement. The test segment is created in the currently selected project. Clicking the edit icon opens the test segment details page where more properties of the test segment can be set ( Section 6.7.3, “Test Segment Details”). Clicking the duplicate icon allows the user to create a copy of the test segment.button creates a new test segment (
This page ( Figure 6.37 ) allows the user to view or change the following attributes of the selected test Segment:
|How to create a new revision of a test Segment?|
Clicking the New Revision button creates a new revision of the test Segment. This button is disabled if there are any unsaved changes to the test Segment.
Assigned automatically and incremented every time a test segment is changed.
The editable name of the test segment.
The textual description of the test segment.
A reference to the corresponding requirement, use case or work package.
User defined properties can be used to customize test Segment within Klaros-Testmanagement by adding custom fields. This process is described in Section 5.2.13, “User Defined Properties” .
In the Steps tab, test steps may be added to or removed from the test Segment. The following attributes of single test steps may also be changed:
The description of the action to take, e.g.
Enter name and password, and
click the Login button.
The (visible) behavior of the system predicted while carrying out the test step
The user recieves a message that the login succeeded
Condition that must be fulfilled before the execution of the test step,
The user is not yet logged in.
The environmental and state conditions that must be fulfilled after the
execution of the test case e.g.
The user is authenticated and has access to
To change the order of the test steps the icon is used. This opens a dialog which allows the test step to be inserted in another position in the list. To add a new test step to the end of the list, click the icon. Test steps are inserted before or after a given step using the and icons. The clone icon is used to duplicate a step at another position. Individual steps may be minimized while editing to help to keep track of Steps which are being edited.
Pressing the and icons can be used to expand or collapse all test case steps.displays the individual test case steps in a tabbed view to save space. The
Test steps are removed by pressing on the delete icon. The button must be pressed to persist this change. ( Figure 6.28 ).
Pressing one of the thebuttons next to the Description , Expected Result , Precondition and Postcondition text fields opens up a dialog which allows to embed an attachment into the text.
Pressing the Section 5.2.12, “Attachments” ).button opens another dialog that allows to upload a new attachment to the test segment (see
Pressing the %inline-att:[attachment-identifier]% , e.g. %inline-att:9e3df155-359f-40e7-8c78-7ae9aac6a8ab% .button while having an attachment selected will insert a reference in the form of
Depending on whether the attachment is an image, this reference will be replaced by a scalable preview image during the execution of the test segment. Otherwise, the reference will be replaced by a hyperlink that will open the attachment in a new browser tab.
Attachments may be added to test segment. This process is described in Section 5.2.12, “Attachments” .
Test segment are revisionable. The process of revisioning an object is described in Section 5.2.16, “Revisions” .