Decrypting a dataset column

To view the content of an encrypted dataset, you can decrypt the dataset column. Removing encryption from a dataset revokes the protection offered to the test data.

Before you begin

You must have created at least one dataset and encrypted the dataset with an encryption key. See Creating a dataset and Encrypting a dataset column.

Procedure

  1. Log in to HCL OneTest Server.

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

  6. Click Edit.
  7. Select your action to either select an existing Edit branch or create an Edit branch:
    • Perform the following steps to select the edit branch:
      1. Select an Edit branch from the Select branch list if Edit branches already exist in the selected branch of the repository.
      2. Click Ok.

      You selected an existing Edit branch.

    • Perform the following steps to create the edit branch:
      1. Select Create new branch.
      2. Enter a name for the edit branch.
      3. Click Save.

      You created an Edit branch.

  8. Right-click encrypted cells that display the contents with asterisks, and then select Decrypt column data.
    The Decrypt Column window is displayed.
  9. Enter the encryption key that you used to encrypt the data in the column in the Encryption Key field.
  10. Click Decrypt Column.
    Asterisks are replaced with the actual data in the decrypted column.
  11. Click the Save icon image of the save icon. to save the changes to the dataset.

Results

The encryption is removed from the selected column in the dataset. When you run a test that uses a dataset that contains decrypted data, the variable data is substituted for the original data in the recorded test without prompting for the encryption.

What to do next

You can publish the dataset to the Git repository so that other members of the project can use the dataset by clicking the Publish icon publish_icon. See Publishing changes in datasets.