Deleting a data definition

You can delete a data definition when it is outdated or no longer relevant to your project. Additionally, when data definitions contain errors or inaccuracies that can lead to misleading or incorrect fabricated data, then you might want to remove them. This ensures that the project remains clutter-free, optimizes the performance of HCL DevOps Test Hub (Test Hub), and reduces storage requirements.

Before you begin

You must have completed the following tasks:

Procedure

  1. Log in to Test Hub.

    The Projects page of the initial team space is displayed.

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

    The Overview page of the project is displayed.

  3. Click Author > Data.

    The Data page and the data navigator panel are displayed.

  4. Select the data definition in the data navigator panel.
    The data dedfinition is displayed in the Data page
  5. Click the Delete icon to delete the data definition.

    Alternatively, right-click the data definition in the data navigator panel, and then click Delete.

    The Edit Branch dialog is displayed.

    If the Edit branch dialog is not displayed, then go to step 7.

  6. Select your action to either select an existing Edit branch or create an Edit branch:
    • Perform the following steps to select an existing Edit branch:
      1. Select Use an existing edit branch.
      2. Select an Edit branch from the Select branch list if Edit branches already exist for your repository.
        Note: A warning message is displayed if the Edit branch, which you selected, is behind the source branch. To update the selected edit branch and maintain synchronization with the source branch, you can select the Update branch option when switching checkbox.
      3. Click Ok.
    • Perform the following steps to create the Edit branch:
      1. Select Create new edit branch.
      2. Enter a name for the Edit branch in the Branch Name field.
      3. Click Save.
  7. Click the Delete button in the Delete Data definition dialog.

Results

You have deleted a data definition from your project.

What to do next

You can publish the changes performed to the data definition (that is, deletion of the data definition) to the Git repository so that other members of the project do not see the deleted data definition. See Publishing all changes in an Edit branch.