Copying artifacts of a schema to another schema
When a schema in your project includes artifacts, and you want to reuse those artifacts in another schema in the same project, then you can copy the artifacts of a schema to another schema by using HCL® OneTest™ Data.
Before you begin
You must have a schema in your HCL® OneTest™ Data project.
About this task
While you copy the artifacts of the schema, you can either create a schema or select an existing schema.
Restriction: You cannot copy an XSD or a JSON schema to another
schema.
Procedure
- Log in to HCL OneTest™ Server and open the team space that contains your project.
-
Open your project.
The Overview page is displayed.
-
Click
. The Data Fabrication page is displayed.
- Open your schema from the Schemas tab.
-
Select a category, group, or item type from Dictionary,
and then click Copy to Schema from the menu.
The Copy Type dialog is displayed.
-
Toggle the Create New Schema switch to select the
destination schema. You can either create a schema or select an existing schema.
- To copy the artifacts of a schema into a new schema, go to step 5.
- To copy the artifacts of a schema into an existing schema, go to step 6.
-
Copy the artifacts to a new schema by performing the following steps:
-
Copy the artifacts to an existing schema by performing the following
steps:
- Click Copy.
- Save the changes.