Publishing a dataset
When you create or edit any datasets in HCL OneTest™ Server, you can publish your changes to the Git repository. Therefore, when you publish a dataset, other members in the project can use your dataset in their test assets run, if required.
Before you begin
You must have created, edited, or deleted dataset asset in HCL OneTest™ Server.
About this task
The Changes page lists all updates made to the dataset assets. The status of the dataset can be creation, modifications, or deletion of datasets. You can publish all updated datasets or a single dataset listed in the Changes page to the Git repository by selecting the appropriate checkboxes.
HCL OneTest™ Server processes one publish request at a time. Therefore, when multiple users attempt to publish the same dataset, the request that reaches first from the users is processed. The other users receive an error message, and they are unable to publish.
-
Edit - If you want to make any last-minute updates to the dataset before publishing.
-
Discard - To remove the changes that you made to the dataset asset.
Procedure
- Go to the HCL OneTest™ Server URL.
- Enter your user name and password, and then click Login.
- From the HCL OneTest™ Server UI, open your project.
- Go to the Changes page, find the dataset that you want to publish.
- Select the checkbox preceded with the Dataset name to publish to the Git repository, and then click Publish.
-
Enter a description for the changes made to the dataset, and then click
Publish.
A message is displayed for successful pushing of changes to the Git repository.
Results
You have published the modified dataset into the Git repository.