Publishing a dataset

When you create or edit any datasets in Rational® Test Automation Server, you can publish your changes to the Git repository. Therefore, when you publish the dataset, other members in the project can use your dataset in their test run, if required.

Before you begin

You must have created, edited, or deleted dataset assets in Rational® Test Automation Server.

About this task

The Changes page lists the dataset assets that are modified. You can publish all datasets or a single dataset listed on the Changes page to the Git repository by selecting the appropriate checkboxes.

When multiple users edit the same dataset, all users can publish their changes to the Git repository only if the changes made are not conflicting with other users.

Consider that you have a dataset with 5 rows and 2 columns. If user1 updates row 2, column 1, and user2 updates row 5, column 1, then they can publish their changes to the Git repository. If both users update row 2 and column 1 of the dataset and attempt to publish the same dataset, then the publish request that reaches first to the server is processed. The other user receives a conflict error message, and the dataset does not get published.

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. Login to Rational® Test Automation Server, if you are not already logged in.
  2. Open a project from the team space.
  3. Go to the Changes page, and find the dataset that you want to publish.
  4. Select the checkbox that precedes the dataset name to publish to the Git repository, and then click Publish.
  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.