Categories
Rational Quality Manager

Broken Back Links to DOORS and DNG

When linking to requirements, the links are not always formed correctly. In these cases the link is visible from RQM but not from DOORS or DNG.

To address this first enable Back Link Checks via the preferences window:

Then

Ensure the bottom option is selected.

You can now return to a traceability view within RQM (for example browse Test Cases, if you now add the “Validates Requirements” column to the view, the Back Links check will be performed and a broken link symbol displayed when an issue is found. Note this can take some time to actually display.

Using the action menu on the broken link symbol enables the link to be repaired.

Categories
DOORS Next Generation

Importing CSV Data

This post looks at the simple task of importing data into DNG. This is a fairly easy task but there are a number of points to be aware of.

Prepare the .csv file (Can be a spreadsheet!!)

Data is imported from a .csv file. Column titles must match the attribute names, but there are also special columns / names to be used:

  1. Identifier – integer that identifies the objects and should put them in order. THIS MUST BE POPULATED. If you do not have valid values populate with incrementing integers starting at 1. DNG will re-number the artifacts as they are created/
  2. parentBinding <optional> – use the identifier of the parent artifact, should then put in the structure (within a module)
  3. isHeading <optional> – true or blank
  4. Name – name that will identify the artifact. Within DNG artifacts are named as well as having an identifier. Names can be populated at a later date. When exporting from DOORS 9.x to DNG, if the data does not have a field that is appropriate I have been using the Object Number.
  5. Primary Text <optional> – The main textual field for the artefact. When transferring data from DOORS 9  this is the contents of Object Heading and Object Text
  6. Artifact Type – Identifies the type of artifact to be created to represent this row of data. The Artifact Type must exist within DNG.
  7. Other Attributes <optional> – If you have other attribute data to be imported ensure the column heading matches the attribute name.

Where a multi select enumeration is to be imported the values must appear as a comma separated list in the cell: Val A, Val B, Val C

Perform the Import

From the artifacts page, select:

This will then open a form with a number of options. Select “Import requirements from a CSV file”

Select the CSV file

Select “Import Requirements into a module” and select the module. This also enables the creation of a module in the required folder.

On the import form, when “Finish” is selected, the CSV file will be submitted for processing. The results will be displayed at the top of the page. Note it can take some time for the data to be imported.