Publishing a dataset
After you create or edit any datasets in HCL OneTest™ Server, you can publish your changes to a remote Git repository. Therefore, after you publish the dataset, other members in the project can use your dataset in their test run, if required. The Edit branch automatically disappears from the Branch drop-down list and changes made to the datasets are merged into the previously selected branch name.
Before you begin
You must have created, edited, or deleted dataset assets in HCL OneTest™ Server.
About this task
When you create or edit multiple datasets, the Changes page lists all datasets in the corresponding Edit branches. When you have many datasets listed on the Changes page, you cannot publish or discard a single dataset. You must either publish all datasets or discard all changes made to datasets. If you do not modify any datasets, the Changes page displays a message that indicates there are no changes in any of the datasets.
The Changes page also provides you with information about the number of commits that the Edit branch is ahead and behind. You can click the (n) commits ahead option, and then click Reset to revert your changes. Similarly, you can also click the (n) commits behind option, and then click Merge to merge the changes of other member into the Edit branch.
You can publish the dataset to the remote Git repository either from the Changes page or from the CSV Editor. When you modify the dataset and publish it to the Git repository, the other members who have access to that dataset can view the updated dataset.
You can click the Menu icon to perform the following actions from the Changes page:
Options | Actions |
---|---|
Edit | Click Edit to make any updates to the dataset before publishing. |
Discard | Click Discard to remove the changes that you made to the dataset asset. |
Save As | Click Save As to save a copy of the dataset. |
Procedure
- Log in to HCL OneTest™ Server if you are not already logged in.
- Open a project from the team space.
- Go to .
- Click Publish changes.
-
Enter a description for the changes made to the dataset, and then click
Publish.
A notification is displayed for successful pushing of changes to the Git repository.