Publishing a dataset

After you create or edit any datasets in Rational® Test Automation 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 Rational® Test Automation 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 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

  1. Log in to Rational® Test Automation Server if you are not already logged in.
  2. Open a project from the team space.
  3. Go to Author > Changes.
  4. Click Publish changes.
  5. 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.

Results

You have published the modified dataset into the Git repository.