Additional Editing Functions

You can perform the following editing functions in the Test Script tab:

  • To undo a previous action, click the Undo button . To restore an action that was undone, click the Redo button .

  • To remove a section of code from one part of your script, and place it in another part of the script, select the section and click the Cut and Paste buttons.

  • To copy a section of code from one part of your script, and place it in another part of the script, select the section and click the Copy and Paste buttons.

  • To delete a section of code, select it and click the Delete button .

  • To locate specific text within your script, click the Find in Script button . In the Find Text dialog box, type the text for which you want to search. Select the options, direction, scope, and origin for your search, and click OK.

    To find another occurrence of the text within the script, choose Search > Find Next.

  • To locate specific text within your script and replace it with different text, click the Replace button . In the Find Text dialog box, type the text you want to search for in the Text to find box. Type the text with which you want to replace this text in the Replace with box. Select the options, direction, scope, and origin for your search, and click OK. To replace all instances of the text in the script, click the Replace All button.

  • To locate a specific line number within your script, choose Search > Go to Line Number. In the Go to Line Number dialog box, type the line number you want to find, and click OK.

  • To change the editor options, such as the margins, fonts, and screen/text colors, click the Editor button . Set the properties you want in the Editor, Display, and Colors tabs, and click OK.

After you have finished editing your script, click the Save button to save the changes you made.