You can use the Rename dialog box to rename a Functional Tester
script, test object map, test folder, log, or other Java™ files
in a project, verification point or test object in the Script Explorer.
When you rename a script, Functional Tester renames the script
and 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 map 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 strongly recommend that you do not
use the Rename command in the Navigator view to modify any Functional Tester
project assets.
- Current name
- The name of the test asset in the project that you selected.
- New name
The new name of the test asset in the project (40 characters maximum).
By convention, Java test script names usually start with an uppercase
letter. Test asset names cannot contain the following characters: \ / : *
? " < > | ( ) or a space.
To open: In the Functional Tester Projects view, right-click
the project item you want to rename and click Rename.