Search Test Cases
Go to Test Management > Test Case tab. Users can search for test cases on the Test Case tab. Various filters are available to search the Test Cases. The filter will be applied to the selected Test Case Folder on the tree.
A. Search Test Cases
You can use the search feature to locate the required test case(s) in the current project. The multiple value Search feature is available for Keys, Summary, Description, Precondition, Attachment Name, Comments, Test Step, and custom fields with Number Field and Text Field type in the Test Case module.
The search will occur in the latest version of test cases of the same project. The set search preference gets preserved for the user. The user can modify the search preferences anytime afterward.
Shareable test cases can be searched only on Test Step, as they do not contain Description and Precondition.
Use Case: Testers want to search test cases with a specific word within the Test Case Key, Test Summary, Description, Precondition, and Test Step of the test case. When the project includes a large number of test cases, the feature helps testers locate the required test cases quickly with a particular text.
Search a Test Case Key
You can search a single test case key by entering the key in the search box. This option searches mentioned Key with the “Contains” clause. It filters records using partial keyword matches.
Search Text
Steps
1. Open the Test Case module.
2. Click on the Search icon at the top.
3. Enter text to search in the search text box.
The search will check for the mentioned text in the Key and Summary fields of the test case by default. You can opt to cover additional fields/sections to look for the mentioned text.
4. Open the Include drop-down to select Description, Precondition, Test Step fields/sections, Attachment Name, and Comments to extend the search to those fields/sections of the test case.
The Attachment Name will only be searched for in the test case attachments. The search will not drill down to steps.
The Search operation (including attachment) will only consider details of the latest version of test case.
5. Press the ENTER key on the keyboard.
The search will return the test case records that include the search text in their Summary, Description, Precondition, Test Step fields/sections, Attachment Name, and Comments.
B. Search on Other Test Case fields
You can apply other filters like the following to search test cases. The filter can also be applied to custom fields.
Note: A maximum of 10 filters, including system as well as custom fields, can be selected at a time.
Label
Fix Version
Components
Sprint
Status
Priority
Assignee
Reporter
Created By
Updated By
Created On
Updated On
Coverage Stories
Key Search
Search (Free Text): This option searches mentioned Key with the “Contains” clause. It filters records using partial keyword matches.
Search Multiple Keys (Separated by Comma): This option searches Exact Keys, separated by commas.
→ For example: FIT-TC-10, FIT-TC-19, FIT-TC-32, FIT-TC-67
The search result displays records that exactly match asset keys.
Note: A maximum of 200 Keys can be searched at a time.
Multi-line Search
You can search assets based on the content of the Multi Line Text Box type fields.
Search (Free Text): This option searches the field content with the “Contains” clause. It filters records using partial keyword matches.
Search Multiple Keywords (Separated by Comma): This option searches for keywords or phrases in the field using the “Contains” clause. You can enter phrases/keywords separated by a comma. If a phrase contains a comma, enclose the phrase/keyword within double/single quotes.
→ For example: coaching, exercises, “workout history, performance stats”
Note: A maximum of 200 keywords can be searched at a time.
Number Field Search
You can search assets based on the content of the Number Field type fields.
(A) Number Range: This option searches the field content with the “Contains” clause. It filters records using partial keyword matches.
(B) Search Multiple Numbers (Separated by Comma): This option searches for the exact numerical values in the fields. You can search for multiple numeric values separated by commas for a Custom field with the Number Field type.
→ For example: 141, 273, 902, 452
The search result displays assets that exactly match numbers.
Note: A maximum of 200 numerical values can be searched at a time.
C. Search on Specific Stories
1. Open the filter menu and select Coverage/Stories on it.
The Coverage/Stories filter is added to the filter pane.
2. Click on Coverage/Stories to see the list of stories.
The Add Stories in Filter pop-up opens. You can maximize it by clicking on the icon at the top right corner.
3. Select the stories you want to add to the test case filter and click Submit.
You can search required stories using (A) Basic Search and (B) JQL Search.
(A) Basic Search (The Issue Type filter displays Issue Type in accordance with the Issue Type enabled for Story in Enable QMetry Features for Jira project)
(B) Switch to JQL: Clicking on Switch to JQL, the JQL editor opens. Write the query to filter the records and click Submit.
D. Save Filter
You can create customized filters and save them too for future use.
These filters can be saved with visibility either Public or Private.
Click on the filter drop-down and select the field to apply a filter on.
Once you apply the filter on records, you can also save it.
Click Save Filter to save the filter.
The Save Filter pop-up opens.
Enter Filter Name on the pop-up.
Filters can be saved with visibility either Public or Private.
Public: Filter saved with Public visibility will be visible to all the users of the project. Moreover, the results of these saved Public filters can be shared through the URL with other users of same Jira instance. Users who have access to that project can view the filter results by opening the URL. The URL links can also be integrated on other documentation sites as required.
Private: Filter saved with Private visibility will be visible only to the currently logged-in user.
Use Case: A project admin wants to restrict the number of Public filters that are visible to all users in the Filter list. Filters created by one user may not be that much useful to other users, hence, the user opts to make the filter “Private” to avoid a long list of saved Filters.
Click Submit.
Now the filter is saved and applied.
A. Filter saved appears on the drop-down.
B. Copy Filter: You can copy the existing filter and save it with another name.
C. Share Filter: You can share a Public filter with other users and integrate the URL on the documentation site as well. Read more about Share Public Filter URL.
D. Update Filter: You can edit the current filter.
E. Reset Filter Values: You can reset/clear the criteria of the saved filter.
F. Remove All Filters: You can clear all the applied filters.
Clear selected Item:
To clear the applied filter, open the Filter drop-down and click on the Clear Selected Item link.
Delete a Filter:
To delete a saved filter, open the Filter drop-down and hover over the filter name. The Delete icon will become visible. Click on the Delete icon.
E. Apply Filters with Operators
The Operators option is available on the drop-down. The filter considers “OR” as the default operator and applies it to filter the records, which displays records with either of the selected values. You can use the “AND” operator to consider all the selected values.
The operators are available for these fields: Label, Components, Fix Versions, Multi-lookup custom field, Labels custom field, Multi-users custom field, and Checkbox custom field.
→ Empty operator: Using the “Empty” operator you can filter out records that do not have values for the specific field. The operator is available for single and multi-lookup fields.
To change the operator, click on the Edit icon beside the “OR” operator.
The drop-down displays two operators: “OR” and “AND”.
You can select “AND” as the operator to apply for the filter.
The filter applies with the operator “AND” and the output shows the records holding both values.
F. Share Public Filter URL
The Share Filter option is provided to share the results of the saved Public filters through URL with other users of same Jira instance. Users who have access to that project and Test Case View permissions can view the filter results by opening the URL. The URL links can also be integrated on other documentation sites as required.
On clicking on Share Filter, the success message appears “URL copied successfully.”
This copied URL can then be shared with other users.
Users can copy the URL in browser and access the filter results, if they are already logged into QTM4J same instance.