Rename dialog box

You can use the Rename dialog box to rename a Functional Test 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, HCL OneTest™ UI 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, HCL OneTest UI updates associated scripts with the new map name.

  • You need to change any callScript commands in scripts that reference the old script name; otherwise, HCL OneTest UI 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 HCL OneTest UI, Eclipse Integration, 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 Test script. Therefore, do not use the Rename command in the Navigator view to modify any Functional Test 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 Projects view, right-click the project item you want to rename and click Rename.