Deleting a dataset

You can delete the dataset when it is not required in your test environment.

Before you begin

You must have completed the following tasks:
  • Ensured that you are assigned a role as a Viewer, Tester, or Project Owner in the project.
  • Created at least one dataset in your Git repository that you have configured.

About this task

You can delete datasets in Test Hub in the following scenarios:

  • Datasets that you created in the desktop clients and that are cloned to the repository in your project on Test Hub.

  • Datasets that you created in Test Hub and that are published to the repository in your project.

  • Datasets that are in the .csv file format.

You cannot delete the following datasets:
  • Datasets that you created or edited in Test Hub and that are not published to the repository in your project.

  • Datasets that are in the .sit file format.

Procedure

  1. Log in to Test Hub.

    The team space that contains your project is displayed.

  2. Click Active projects > 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 branch that contains your project with the datasets that you want to edit.

    The projects in the selected branch are displayed in the Data navigator panel. The datasets are listed under the folder you created to contain the dataset within a logical folder named as Datasets.

  5. Right-click the dataset in the data navigator, and then click the Delete option.
  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 an Edit branch from the Select branch list if Edit branches already exist in the selected branch of the repository.
      2. Click Ok.
    • Perform the following steps to create the Edit branch:
      1. Select Create new branch.
      2. Enter a name for the Edit branch.
      3. Click Save.
  7. Perform the following steps in the Delete <Dataset> dialog that is displayed, where <Dataset> displays the name of the selected dataset.
    1. Select the option to publish the deletion from the Edit branch to the main branch.
    2. Click Delete.

    The selected dataset is deleted and the deletion is published from the edit branch to the main branch.

Results

You deleted a dataset.