You can add a single schema or a directory of schemas.
You can specify the type of schema to add or let HCL OneTest™ API
attempt to determine the type.
Before you begin
Open the HCL OneTest™ API Architecture School perspective
(F7) and select the Schema Library view.
Adding a schema of a specific type
Procedure
On the toolbar at the top of the view, click the arrow
next to the Add push button.
Select a schema category from the displayed list.
Only a subset
of categories and schema types is available when you add a schema.
Select a schema type from one of the categories.
The
information that is required to add the schema depends on the schema
type. For more information, see the following instructions:
To add an XSD schema, specify a source file. You can validate
the schema source file by clicking Analyze;
see Analyzing schemas.
Adding a schema or directory without specifying a type
Procedure
On the toolbar at the top of the view, click Add.
In the displayed browser, select a file, or a directory
that contains multiple source files, for the schema to add.
Results
HCL OneTest™ API examines the extension and the contents
of the specified files. If it can determine the schema type, it adds
the schema in the appropriate type and displays that page of the library.
If it cannot, the schema is not added.