Renewing a name in associated script(s)
You can change a vague test object name to a more meaningful name. Functional Test updates the name in associated scripts from the test object map.
Before you begin
For example, a test object named Button represents a Print Preview button on a toolbar. You can change the name of the test object to Preview Button, which is more precise.
To renew an individual script test object name in associated scripts:
- Open the test object map and select the test object.
- Click Test Object > Renew Name in Associated Script(s) in the Test Object Map menu,
- In the Renew the name of map node name with field, enter the script test object name used in the associated scripts.
- Click Next.
- Select the scripts that contains the name you want to update.
- Click Finish.
What to do next
Test object maps
New test objects in an object map
Searching for objects in a test object map
Create and using a test object map to test applications
Create a new test object map
Merging multiple test object maps
Add objects to a test object map
Insert dynamic test object
Converting dynamic test object
Use ClearCase with test object maps
Add a test object to an object map and a script
Editing object properties
Displaying associated scripts
Resetting object names to the default names in associated script(s)
Add test objects to a script
Add test object descriptions
Editing test object descriptions
Delete test objects from an object map
Unifying two test objects
Maintaining a test object map
Renaming a test asset
Update recognition properties
Delete a test object map
Locating a test object in the application
Renew Name in Associated Script(s) dialog box
Renew all names in associated script (s)