Viewing a dataset

When test assets includes datasets, you can view the contents of a dataset from HCL DevOps Test Hub (Test Hub). The datasets residing in the Git repository are listed in the Datasets page.

Before you begin

You must have completed the following tasks:

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 Datasets.

  5. Click the dataset in the data navigator.

    The dataset opens in the right pane.

Results

You have viewed the contents of the dataset.

Viewing an encrypted dataset

You can use the Dataset page to view the contents of an encrypted dataset from Test Hub.

Before you begin

You must have completed the following tasks:

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 Datasets.

  5. Select the encrypted dataset that you want to view.

    The dataset is displayed in the Dataset panel with the data in the encrypted column masked with Asterisks (***).

  6. Right-click the encrypted column and click Show encrypted data.
    You can right-click the decrypted column and select Hide encrypted data to encrypt the data again.
    Important: The Show encrypted data option is available only when you have added the encrypted dataset to the respective classification.

Results

You have viewed the contents of an encrypted dataset.

Changing classification for an encrypted dataset

To move the encrypted dataset from one classification to another dataset in Test Hub, you can change the classification for an encrypted dataset.

Before you begin

You must have created at least two or more classifications. See Managing an encrypted dataset.

Procedure

  1. Go to the Datasets page and find an encrypted dataset for which you want to change the classification.
  2. Right-click the dataset, and then click the Security icon lock icon.
  3. In the Change the classification for the Dataset dialog:
    1. Choose the classification from the list.
    2. Enter the encryption key for the dataset that was set while encrypting the dataset column in the Password field.
    3. Save the classification details.
    Remember: You can perform this task only if you know the encryption key set for the dataset while encrypting the dataset column.

Results

You have changed the classification for an encrypted dataset.