Deleting a dataset
You can delete the dataset when it is not required in your test environment.
Before you begin
- 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.
-
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
-
Log in to Test Hub.
The team space that contains your project is displayed.
-
Click
to open the project that contains the test assets.
The Overview page of the project is displayed.
-
Click
.
The Data page and the Data navigator panel are displayed.
-
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.
- Right-click the dataset in the data navigator, and then click the Delete option.
-
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:
- Select an Edit branch from the Select branch list if Edit branches already exist in the selected branch of the repository.
- Click Ok.
- Perform the following steps to create the Edit branch:
- Select Create new branch.
- Enter a name for the Edit branch.
- Click Save.
- Perform the following steps to select an existing Edit
branch:
-
Perform the following steps in the Delete <Dataset>
dialog that is displayed, where <Dataset> displays the
name of the selected dataset.
- Select the option to publish the deletion from the Edit branch to the main branch.
- Click Delete.
The selected dataset is deleted and the deletion is published from the edit branch to the main branch.