Deleting a dataset

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

Before you begin

You must have at least one dataset asset in your Git repository that you have configured.

About this task

You can delete datasets in HCL OneTest Server in the following scenarios:

  • Datasets that you created in the desktop clients and that are cloned to the repository in your project on HCL OneTest Server.

  • Datasets that you created in HCL OneTest Server 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 HCL OneTest Server and that are not published to the repository in your project.

  • Datasets that are in the .sit file format.

Procedure

  1. Log in to HCL OneTest Server if you are not already logged in.
  2. Open a project from the team space.
  3. Go to Author > Datasets, and then select the Branch from the list to find the dataset that you want to delete.
  4. Click the Menu icon menu_icon from the Actions column of a dataset, and then click Delete.

    Based on the Branch that you selected, the following events occur:

    • The Edit Branch window is displayed if you selected other than the edit branch.

    • The Delete dataset window is displayed if you selected the edit branch.

  5. Perform one of the steps described in the following table to select or create the edit branch:

    Step description

    Step no

    To select the edit branch

    Perform 5.a

    To create the edit branch

    Perform 5.b
    1. Perform the following steps to select the edit branch:
      1. Choose the edit branch from the Select branch drop-down list if the edit branches are already existing.

      2. Click Ok.

    2. Perform the following steps to create the edit branch:
      1. Select Create new branch.

      2. Provide a name for the edit branch.

      3. Click Save.

  6. Perform any of the following actions to decide from where the dataset is to be deleted:
    • Select the Publish deletion from <branch name of the Git repository> to <branch name of the Git repository> checkbox to delete the dataset from the remote Git repository.
    • Clear the Publish deletion from <branch name of the Git repository> to <branch name of the Git repository> checkbox to delete the dataset from the project.
      Note: When you clear the Publish deletion from <branch name of the Git repository> to <branch name of the Git repository> option, the deletion of the dataset does not reflect in the remote Git repository. Therefore, the other members of the project can still use the dataset that you have deleted. If you want, later you can publish the dataset to the Git repository from the Changes page.
  7. Perform the following actions to delete the dataset:
    Option When Action
    Publish deletion from <branch name of the Git repository> to <branch name of the Git repository> Selected ☑
    1. Enter a description for deleting the dataset in the Description of change field.

    2. Click Delete and Publish.

    Cleared ☐ Click Delete.

Results

You have deleted the dataset.