Sorting and running advanced searches

 

Scope elements can be sorted alphabetically (A-Z or Z-A) in the editors, simply by clicking on the "Term", "Requirement", "Goal" or "Business rule" column title.  An example of this sorting is shown below.

 

Sorting requirements alphabetically in the Scope editor

 

Steps:

1.      As you can see, the requirements shown here have not yet been sorted alphabetically.

2.      Click on the "Requirement" column title to activate the sort.

3.      The requirements are now presented in alphabetical order (from A to Z).

 

Note:      If you click on the "Requirement" column title again, the requirements will be presented still in alphabetical order but this time from Z to A.

 

 

Running an advanced search on Scope elements

To define and run an advanced search operation on a set of Scope elements, simply carry out the steps shown below.

 

Defining and running an advanced search on a set of requirements

 

Steps:

1.      Right-click on the Scope structuring element (requirement container, dictionary, goal container or business rule container) whose contents you wish to search.  A context menu then appears.

2.      From this context menu, run the "Scope Manager/Advanced search..." command. The "Advanced search options" window then appears.

3.      In the "Property" field, select the property you wish to search.  The properties available depend on the property set which has been applied to the selected Scope structuring element.

4.      In the "Comparator" field, click on the arrow on the right-hand side of the field to display possible comparators and make your selection.

5.      In the "Value" field, enter the value which will be used as the basis of the advanced search.

6.      Click on "Apply" to confirm.

 

The advanced search is then run, and the results displayed in the lower part of the window which then appears.

 

Result of the advanced search defined earlier run on a requirement container

 

 

Property types and associated comparators

The following table details the property types which can be used for advanced searches, together with the comparators associated with them.

 

Property type

Comparator

Value

Enumeration

<, <=, =, >=, >, <>

The first enumeration value possible.  It is possible to propose a list of values.

Integer

<, <=, =, >=, >, <>

0

Float

<, <=, =, >=, >, <>

0

String

Begins with, Ends with, Contains, Does not contain, Matches exactly

The value entered by the user.