Search bar
You can use the TruClient search bar to find steps, functions, and transactions in your TruClient scripts by plain text.
About the search
Use the search bar to conduct a more precise and faster search, and to more easily scan results without needing to navigate through long scripts. You can configure the search filter settings by scope and entity type (for details, see below).
You can also interact with the script while the search is open, for example, by moving the resulting steps, or by editing arguments.
The search is supported in TruClient model and scripting modes.
Search TruClient scripts
-
To access, click
in the menu toolbar and select Search. The search bar opens in the upper part of the TruClient Development window.
-
Configure the search filter settings:
Search Scope -
Current View. Searches for text in the currently visible tab content and action, including folded step containers (For, If, Group Steps, and so forth).
-
Whole Script. Searches all available tabs in the Development window (Actions, Run Logic, Function Libraries) and in UFT Mobile.
Entity Type -
All. Searches in steps (the displayed levels only), transactions, and coded script actions and functions if there are coded steps in the script.
-
Steps. Searches in steps (the displayed levels only).
-
Transactions. Searches in transactions.
-
Coded. Searches in coded script actions and functions (available only if there are coded steps in the script).
-
-
Type the text search in the Search box.
While you type characters, TruClient performs the text search on the predefined fields and displays the following:
-
If Current View is selected: TruClient highlights all entities in which the search string is found and lists the total number of matching results.
-
If Whole Script is selected: TruClient displays all matching entities grouped by entity type, and the number of matches for each entity type, in the results window. You can click a search result to view it in the relevant tab.
Note: The search is not case sensitive.
-
-
Use ˅ or ˄ (or press the Enter key) to navigate through the results. The currently selected matching result is highlighted in orange; other results are highlighted in yellow.
-
To remove the search highlights and hide the search bar, press the Esc key.
Search bar shortcuts
For the list of shortcut keys, see Search bar shortcuts.