To rename a Functional Tester script, test object map, or other Java files in a project:
In Functional Tester, Java Scripting, from the Functional Test Projects view, right-click a script or test asset. In Functional Test, VB.NET Scripting, from the Solution Explorer, right-click a script or test asset.
Click Rename.
In Functional Tester, Java Scripting, in the New name box, type the new test asset name and click Finish. In Functional Test, VB.NET Scripting, in the Solution Explorer, type the new test asset name and press Enter.
In Functional Tester, VB.NET Scripting, in the Solution Explorer, you can click a script or test asset, press F2, type the new test asset name, and press Enter.
When you rename a script, Functional Tester renames all its related files, such as the helper script files, the private object map, and any verification point files. When you rename a test object map, Functional Tester updates associated scripts with the new name.
To change any callScript commands in other scripts that reference the old name, Functional Tester logs an error when you run those scripts.
If you use ClearCase, when you rename the script or test asset, ClearCase maintains the history with the renamed file.
A Rename command is available in the Navigator view that is part of the Eclipse Workbench. Because this command renames an individual file, not the collection of files in a Functional Tester script, do not use it to modify any Functional Tester project assets.
Related Topics:
Saving a Functional Test Script Under Another Name
Terms of use | Feedback
(C) Copyright IBM Corporation 2002, 2004. All Rights Reserved.