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

  1. From the product toolbar, click the Create a Test Object Map button Create a New Test Object Map to start the Create New Test Object Map wizard.
  2. In the Add New Item dialog box, type the name of the new test object map in the Name field.
  3. Type or select the project path in the Location field.
  4. Click Open.
  5. 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:
      1. Click Select Test Object Maps and scripts to copy Test Objects from.
      2. Select one or more test object maps to base the new map on. To select multiple maps and scripts, use Ctrl keys.
      3. 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.
  6. 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.
  7. Click Finish.
    HCL OneTest UI merges test objects from the maps and selected scripts into the test object map.