Creating a new test object map
You can create a customized, shared test object map that you can associate with scripts.
About this task
To create a new test object map:
Procedure
- From the product toolbar, click the Create a Test Object Map button to start the Create New Test Object Map wizard.
- In the Add New Item dialog box, type the name of the new test object map in the Name field.
- Type or select the project path in the Location field.
- Click Open.
- In the Copy Test Objects to New Test Object Map page, select the
type of test object map you want to create:
- To create an empty test object map with no objects, click Don't copy any Test Objects.
- To create a map by using one or more existing test object maps as a template:
- Click Select Test Object Maps and scripts to copy Test Objects from.
- Select one or more test object maps to base the new map on. To select multiple maps and scripts, use Ctrl keys.
- To connect the new test object map with any scripts you have selected, select Connect selected scripts with new Test Object Map. With this option, Functional Test updates the selected scripts to point to the newly merged test object map.
- To designate the new map as the project default, click Set
this Test Object Map as default choice for new scripts. HCL OneTest™
UI uses this test object map whenever you record or create a new script.
Tip: To remove the default designation:
- Right-click the test object map in the Solution Explorer and click Clear As Project Default.
- You can also designate a default test object map by right-clicking the test object map in the Solution Explorer and clicking Set as Project Default.
- Click Finish.HCL OneTest™ UI merges test objects from the maps and selected scripts into the test object map.