3.30.5. Using the search dialog
Prev | 3.30. Searching | Next

### 3.30.5. Using the search dialog

You can open the search dialog (Figure 3.38, “Search Dialog”) from the toolbar, by pressing »CTRL+H« or via the menu:

Search-->Search

Figure 3.38. Search Dialog

The search dialog allows you to search the current Project for:

- Keywords (Section 3.30.5.1, “Searching for keywords throughout the Project”) (Test Cases, Test Steps, Test Suites, Test Jobs and categories).

- Test data used in Test Cases or central test data sets (Section 3.30.5.2, “Searching for test data”).

- Files in the workspace (Section 3.30.5.3, “Searching for files in the workspace”).

- Tasks in the repository (Section 3.30.6, “Searching for tasks in ALM repositories”)

#### 3.30.5.1. Searching for keywords throughout the Project

On the first tab of the search dialog, you can search for the following based on their name, a comment, a description, or a task ID.:

- Test Steps

- Test Cases – either the original specification or places where a Test Case has been reused (referenced)

- Test Suites – either the original specification or places where a Test Suite has been reused (referenced)

- Test Jobs

- Categories

- Comments

Enter the term you wish to search for and select whether you want the search term to be case sensitive or whether you will be using regular expressions. Specify what aspects you want to search the node types for (name, comment, description, task ID) and which nodes you want to search in. You can also specify whether you want to search in the whole Project, or just for the selected nodes (Section 3.30.5.4, “Limiting the search to the selected node”).

Click ”Search” to start the search. The results are shown in the Search Result View (Section 3.30.7, “Using the search result view”).

#### 3.30.5.2. Searching for test data

On the second tab of the search dialog, you can search for test data in the following:

- Central test data sets

- Test Cases – either either the original specification or places where a Test Case has been reused (referenced)

- Test Steps

| The search does not consider the name of the central test data set, for example, only the data contained in it.

Enter the term you wish to search for and select whether you want the search term to be case sensitive or whether you will be using regular expressions. You can also specify whether you want to search in the whole Project, or just for the selected nodes (Section 3.30.5.4, “Limiting the search to the selected node”).

Click ”Search” to start the search. The results are shown in the Search Result View (Section 3.30.7, “Using the search result view”).

#### 3.30.5.3. Searching for files in the workspace

On the third tab of the search dialog, you can search for and in files contained in your workspace.

Enter the term you wish to search for and click ”Search” to start the search. The results are shown in the Search Result View (Section 3.30.7, “Using the search result view”).

#### 3.30.5.4. Limiting the search to the selected node

In the search dialog, you can specify whether the search you define should be performed on the whole Project, or just on the node you have selected in a browser. If you select to just search within the selected node, then you can define which browser or browsers to search in (you may have more than one active selection in your browsers):

Test Suite Browser

  This search will be limited to the selected item (Test Suite, Test Job, category) in the Test Suite Browser. If you select the root node in the Test Suite Browser, then the whole Test Suite Browser will be searched.

Main Test Case Browser

  This search will be limited to the selected item (Test Case, category) in the Test Case Browser. If you have more than one Test Case Browser open (Section 3.9.6, “Opening the Test Case Browser multiple times”), then the one marked as Main will be used. If you select the root node in the Test Case Browser, then the whole Test Case Browser will be searched.

All Test Case Browsers

  If you have more than one Test Case Browser open (Section 3.9.6, “Opening the Test Case Browser multiple times”), then the selected nodes in all of them will be searched.If you select the root node in the Test Case Browser, then the whole Test Case Browser will be searched.

You can select one or more of these options to perform the search.