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. Go to the HCL OneTest Server URL.
  2. Enter your user name and password, and then click Login.
  3. Open your project from the HCL OneTest Server UI.
  4. Go to the Datasets page, find the dataset that you want to delete.
  5. Click the Menu icon menu_icon from the Actions column of a dataset, and then click Delete.
  6. Clear the Publish delete to <branch name of the configured Git repository> check box 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.
  7. Enter a description for deleting the dataset in the Description of change field.
  8. 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.