Setting type properties

After you add types to your schema, you must set type properties.

Before you begin

You must have a schema with types.

Procedure

  1. Select a type and click the menu of the type.
  2. Click Properties.
    The Properties dialog is displayed.
  3. Enter the name, class, and description details of the type.
  4. Choose the class of the type as Category, Group, or Item.
    The properties of the selected type is displayed.
  5. Define the required properties for the selected type.
  6. Click Advanced properties to provide additional property details of the type.

    You can set multiple properties for an item type.

    Note: If you want to import any JSON or XSD format schema, you cannot modify the properties of any type of the schema.
  7. Save your changes.

Results

You have set the type properties of schema and saved them successfully.

What to do next

When you finish setting the properties for all the types of your schema, you must prepare a structural view of the schema by using the drag-and-drop method. See Designing a structural view of the schema.
Note:
If you set multiple properties for an item type, then HCL® OneTest Data considers the following order of priority while executing the properties:
  • Data generation for multiple schemas based on schema integrity
  • Pairwise data property
  • Property to set Javascript rules
  • Setting output rule in Rule Editor
  • Property to set Implied Default value
  • Regular expression property
  • Property to set weightage values by using a file
  • Property to set restrictions

Read the following topics to understand how to set certain properties for any item type: