Editing Tests: Finding and Replacing Text
- From the Script Editor window, click the Find/Replace... button.
The Find/Replace dialog opens.

Find/Replace dialog
- Type the text you want to find in the Find text field.
- To replace the text, type the replacement into the Replace with field.
- If you want to find matches regardless of whether they match the case in your replace string, check Case insensitive .
- By default, the search runs forward to the end of the file. Check Search backwards if you want the reverse.
- Click the button that matches the operation you want to perform--Find, Replace, or Replace all.
Use Replace all judiciously. If you choose this button and then discover you've made a mistake, you can't undo the operation. Instead, you must use the Undo since save option. You can work around this by saving just before doing a Replace operation, thereby ensuring that if you do need to undo the operation immediately, you won't be losing any other work.
- Click Close when you're done searching for text.
Send feedback to
JavaStar-feedback@suntest.com
Copyright © 1998
Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303.
All rights reserved.