Editing Reusable Statements

You can edit statements that you previously saved for reuse.

Manual Tester changes the reusable statements in all the test scripts in which they appear. If you do not want Manual Tester to update all scripts, you can remove the reference for specific scripts before editing the reusable statements.

After you change the original version of the reusable statement, Manual Tester automatically updates the statements in all the closed files. You can selectively update the statements in any open files.

To edit reusable statements:

  1. In the Reuse view, right-click the statements you want to edit and select Open Script.

    In the Text Editor, Manual Tester displays the test script in which the statements were originally authored and saved and highlights the statements.

    Note: You can also open the test script in which the statements were originally authored by right-clicking on a reused statement in a script and clicking Open Script or clicking on a reused statement and selecting Edit > Open Script.
  2. Make any necessary edits and save the manual test script.

    In all closed scripts, Manual Tester automatically updates the statements.

    For all open scripts, Manual Tester displays a message box for each file that references the updated statements.

  3. To apply the change to the specific open script, click Yes.
    To leave the open script unchanged, click No. Manual Tester does not update the script and displays a message box for the next open file, if any.
    Note: When you modify or delete saved statements, Manual Tester does not update the Reuse view until you save the script in which the statement was originally authored.

Parent topic: Saving and Reusing Test Statements

Related tasks
Removing a Reference to a Reusable Statement

Related reference
Reuse View

Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.