TestStand 2019 Help
»View Product Info
The TestStand Sequence Editor displays the Find Results pane after you initiate a Find or Find in Files operation. Select Edit»Find/Replace or Edit»Find/Replace in Files or use the corresponding toolbar buttons to initiate a find operation.
While the search executes in the background, the sequence editor adds matches to the pane as soon as they are found. Cancel the search at any time by clicking the Stop button, which is located at the bottom left of the pane.
Match List View and Matched Text
The two main views of the Find Results pane are the Match List view at the top of the pane and the Matched Text view below it. The Match List view shows a separate list entry for each match TestStand finds. The Matched Text view shows the exact location of the match in the string for the entry you select in the Match List view. In the Match List view you can use the up and down arrow keys to navigate to the previous and next match in the view.
Match List View Columns
The Match List view contains the following columns:
- File—The filename and full path of the file that contains the match for the Find in Files operation.
- Location—The lookup string that shows the location of the property that contains the match. When this column displays a type icon, the match is within a type. When this column does not display an icon, the match is within the data property of the file.
- Value—The value of the property that contains the match. However, this does not mean the match was inside the value of the property. This column is always shown, even if the match was within the name or the comment.
- Found In—Describes the part of the property that contains the match. This column displays Value, Name, or Comment to indicate in which of those locations the match exists.
You can select one or more matches in the Match List view using the keyboard or mouse. You can also select Edit»Select All to select all of the matches in a view. You can also copy the results to the clipboard.
Match List View Context Menu
The Match List view context menu contains the following items:
- Goto Location in File—Opens the file that contains the selected match and goes to the property that contains the match in the document window of the file and opens a dialog box, in which you can edit the value if possible. You can also perform this operation by double-clicking a match entry in the list view.
- Find Previous—Selects the previous match and goes to the location it specifies. Use the <Ctrl+Shift+G> keyboard shortcut for this command for increased efficiency when reviewing matches. The shortcut locates the match as long as the Find Results pane is open, regardless of whether the pane is active.
- Find Next—Selects the next match and goes to the location it specifies. Use the <Ctrl+G> keyboard shortcut with this command for increased efficiency when reviewing matches. The shortcut locates the match as long as the Find Results pane is open, regardless of whether the pane is active.
- Show Name for Indices—Toggles to show the names instead of the indexes for those array elements that have names.
Additional Controls on the Find Results Pane
The Find Results pane also contains the following options:
- Stop—Cancels a search currently in progress.
- Replace With, Replace Found Text, Skip to Next and Replace Value—Use the Replace With control to specify a string to replace the matched text or value with and then click Replace Found Text or the Replace Value button to perform a Replace operation on all of the currently selected matches in the Match List view. Click the Skip to Next button to move the selection to the next match. Select Edit»Select All to select all of the matches.
- Apply Replacements in Types to Type Instances—Enable this option when you want the Replace operation to update all instances of a type when a Replace is done on the value of a type property. Normally, changes to the value of a type property do not affect existing instances of a type.