Associating resources with components

After creating components in the system model, you can navigate to a project in the team space to associate the Suites, tests, or virtual service resources in the project repositories with components in the system model.

Before you begin

You must have completed the following tasks:

Procedure

  1. Log in to HCL OneTest Server.
  2. Open the team space to which a team space repository is added.

    The Active projects page is displayed.

  3. Click Active projects > My projects > project_name to open the project that contains the test assets.

    The Overview page of the project is displayed.

  4. Click System Model on the left navigation pane.

    The System Model page is displayed.

  5. Click the component that you want to associate with the Suites, Tests, or virtual service resources.

    The component details are displayed in the right pane.

  6. Click the Associate tab, and then perform the following steps:
    1. Click Add.
    2. Select the type of resource that you want to associate with the component from the following options:
      • Suites and Tests
      • Virtual services
      Note: You can select either of the options or both the options.

      The Edit branch dialog is displayed.

    3. Select your action that depends on the existence of an Edit branch from the following options:
      • Select an existing Edit branch that you created previously from the list of branches listed in the Select branch field, and then click Save.
      • Click Create new branch, enter a name for the branch, and then click Save, if you want to create a new branch.

      The Associate Assets dialog is displayed. The resources that are contained in the branch of the project repository are listed. The name of the component and the branch are also displayed.

      The Suites and Tests option is selected and the assets are listed if you selected the Suites and Tests option.

      The Virtual services option is selected and the virtual service resources are listed if you selected the Virtual services option.

      If you selected both the types of resources, then assets and virtual services in the branch are listed.

    4. Identify the assets or virtual resources that you want to associate with the component in the system model by performing any of the following actions:
      • Search for the resource by entering the asset name in the Search field.
      • Find the assets by scrolling through the list of assets.
    5. Select the resources, and then click Add.

    The selected resources are associated with the component.

    You can view the associated resources that are displayed in the Associate tab and the Overview tab. The test assets are listed under the Suites and Tests section and the virtual service resources are listed under the Virtual services section.

    If you want to associate other resources to the same component, you can add them by clicking the Add association icon Image of the add icon. in the resource row on the right pane. You can then select the resource and add the resource to the selected component.

Results

You have associated Suites, tests, or virtual service resources with a component in the system model.

What to do next

You can perform any of the following tasks: