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. Login to HCL OneTest Server, if you are not already logged in.
  2. Open a project from the team space.
  3. Go to the Datasets page, 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.
  5. Clear the Publish delete to <branch name of the configured Git repository> checkbox to delete the dataset from your project.

    When you clear this option, the deletion of the dataset does not reflect in the configured 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.

    Note: By default, Publish delete to <branch name of the configured Git repository> field is selected.
  6. Enter a description for deleting the dataset in the Description of change field.
  7. Perform the following action:
    Option When Action
    Publish delete to <branch name of the configured Git repository> Selected ☑ Click Delete and Publish
    Cleared ☐ Click Delete
    A message is displayed for the successful deletion of the dataset.