Viewing a dataset

When test assets includes datasets, you can view the contents of a dataset from HCL OneTest Server. The datasets residing in the Git repository are listed in the Datasets page.

Before you begin

You must be a member of the project with the Owner or Tester role, and you must have completed the following tasks:

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.
  4. Find the dataset that you are interested in, and then expand the dataset by clicking the Expand icon right arrow.
    Note: You can click the Dataset name field to sort the datasets by name in alphabetical order. Alternatively, you can use the Search field to search the dataset by name.

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 HCL OneTest Server.

Procedure

  1. Go to the Datasets page, find the encrypted dataset that you are interested in, and then expand the dataset by clicking the Expand icon right arrow.
  2. Perform the following steps, if you have created a classification but yet to add the encrypted dataset to it:
    1. Find the encrypted dataset that you are interested in, and then click the Lock icon lock icon from the Actions column of the dataset.
    2. In the Change the classification for the dataset window, select a classification from the list and enter the encryption key set for the dataset.
    3. Click Save to save the classification details.
  3. 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, you can change the classification for an encrypted dataset from the Dataset page.

Before you begin

You must have created at least two or more classifications. See Creating a classification.

Procedure

  1. Go to the Datasets page and find an encrypted dataset for which you want to change the classification.
  2. Click the Lock icon lock icon from the Actions column of a dataset.
  3. In the Change the classification for the Dataset window:
    1. Choose the classification from the list.
    2. Enter the encryption key for the dataset that was set while encrypting the dataset column.
    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.