Renaming a test asset

You can rename a Functional Tester script, test object map, or other files in a project.
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.
Note:
  • You need to change any callScript commands in scripts that reference the old script name; otherwise, Functional Tester logs an error when you run those scripts.
  • If you use Rational® ClearCase® for source control of your scripts and test assets, when you rename the script or test asset, ClearCase maintains the history with the renamed file.
  • For Functional Tester, Java™ Scripting, a Rename command is available in the Navigator view that is part of the Eclipse Workbench. This Rename command only renames an individual file, not the collection of files that makes up a Functional Tester script. Therefore, we recommend that you do not use the Rename command in the Navigator view to modify any Functional Tester project assets.
To rename a Functional Tester test asset:
  1. From the Functional Test Projects view, right-click a script or test asset.
  2. Click Rename.
  3. Type the new test asset name in the New name box, and click Finish.
Related concepts
Test object maps
New test objects in an object map
Searching for objects in a test object map
Regular expressions
Object library
Related tasks
Creating and using a test object map to test applications
Creating a new test object map
Merging multiple test object maps
Adding objects to a test object map
Inserting dynamic test object
Using ClearCase with test object maps
Adding a test object to an object map and a script
Editing object properties
Displaying associated scripts
Renewing a name in associated script(s)
Resetting object names to the default names in associated script(s)
Adding test objects to a script
Adding test object descriptions
Editing test object descriptions
Deleting test objects from an object map
Unifying two test objects
Maintaining a test object map
Updating recognition properties
Deleting a test object map
Locating a test object in the application
Related reference
Rename dialog box

Feedback