Viewing a dataset
When test assets include 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
- Ensured that you are assigned a role as a Viewer, Tester, or Project Owner in the project.
- Created or joined a project in your team space in HCL OneTest™ Server. See Adding a project.
- Added the remote Git repository that contains the test resources to the project. See Adding repositories to a server project.
-
Created at least one dataset and encrypted the dataset with an encryption key. See Creating a dataset and Encrypting a dataset column.
-
Created a classification for an encrypted dataset. See Creating a classification.
Procedure
-
Log in to HCL OneTest™ Server.
The team space that contains your project is displayed.
-
Click
to open the project that contains the test assets.
The Overview page of the project is displayed.
-
Click
.
The Data page and the Data navigator are displayed.
-
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.
-
Click the dataset in the data navigator.
The dataset opens in the right pane.
Results
Viewing an encrypted dataset
You can use the Dataset page to view the contents of an encrypted dataset from HCL OneTest™ Server.
Before you begin
- Ensured that you are assigned a role as a Project Owner or Tester in the project. See Managing access to the server projects.
- Created or joined a project in your team space in HCL OneTest™ Server. See Adding a project.
- Added the remote Git repository that contains the test resources to the project. See Adding repositories to a server project.
- Created at least one dataset and encrypted the dataset with an encryption key. See Creating a dataset and Encrypting a dataset column.
- Created a classification for an encrypted dataset. See Creating a classification.
- Granted classification access to project members. See Granting classification access to members or members roles.
Procedure
-
Log in to HCL OneTest™ Server.
The team space that contains your project is displayed.
-
Click
to open the project that contains the test assets.
The Overview page of the project is displayed.
-
Click
.
The Data page and the Data navigator are displayed.
-
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.
-
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 (***).
-
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
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.
Before you begin
Procedure
- Go to the Datasets page and find an encrypted dataset for which you want to change the classification.
- Right-click the dataset, and then click the Security icon .
-
In the Change the classification for the Dataset
dialog:
- Choose the classification from the list.
- Enter the encryption key for the dataset that was set while encrypting the dataset column in the Password field.
- 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.