Viewing a dataset
When test assets includes datasets, you can view the contents of a dataset from Rational® Test Automation 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 must have completed the following tasks:
-
Created a project in Rational® Test Automation Server. See Adding a project.
-
Added a Git repository to your 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
- Login to Rational® Test Automation Server, if you are not already logged in.
- Open a project from the team space.
-
Go to the Datasets page, find the
dataset that you are interested in, and then expand the dataset by clicking the
Expand icon .
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
Viewing an encrypted dataset
You can use the Dataset page to view the contents of an encrypted dataset from Rational® Test Automation Server.
Procedure
- Go to the Datasets page, find the encrypted dataset that you are interested in, and then expand the dataset by clicking the Expand icon .
-
Perform the following steps, if you have created a classification but yet
to add the encrypted dataset to it:
- Find the encrypted dataset that you are interested in, and then click the Lock icon from the Actions column of the dataset.
- In the Change the classification for the dataset window, select a classification from the list and enter the encryption key set for the dataset.
- Click Save to save the classification details.
-
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 from the Dataset page.
Before you begin
Procedure
- Go to the Datasets page and find an encrypted dataset for which you want to change the classification.
- Click the Lock icon from the Actions column of a dataset.
-
In the Change the classification for the Dataset window:
- Choose the classification from the list.
- Enter the encryption key for the dataset that was set while encrypting the dataset column.
- 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.