< Previous | Next >

Lesson 3: Adding new requirements with DOORS wizard

You can use the DOORS® project startup wizard to add requirements to a new project.
In addition to Administrator access to DOORS, you must have Rational® Rhapsody® for C or C++, and the Rhapsody Gateway installed on your system for this lesson.
  1. In Rhapsody Gateway window, select the elevator project, and click the converter button to open the Rhapsody Gateway Configuration window.

    converter

    converter

  2. Click the Add Document button converter in the middle of the page under the work area. Click to stamp the document into the main window. The default document name is Document1.
  3. In the Rhapsody Gateway Configuration window, click on Type of Analysis tab to select Doors Basic from the dropdown list.

    Note that the Intermediate file box is automatically checked off indicating that the intermediate file is saved.

  4. Highlight the content in the File or Directory box, and click the browse "…" button that becomes functional as a result of the highlighting at the right of the tab. The Select DOORS module window opens where you are prompted to log into DOORS.

    converter

  5. In the Configuration window, select Document1, right-click and select DOORS Wizard.

    converter

  6. The Type Customization window opens. Select the Elevator Specs file, for example, to which to add a new requirement and click Next.

    converter

  7. In the next opened Type Customization window, select Doors Basic, for example, in the Select a DOORS Type drop down field. Check the Create a new type box, type the name of your new requirement, and click Next.
  8. Select the Requirement value in the Kind column from the dropdown list of values, and click Next > Finish. The Type Customization window closes.

    converter

  9. In the Configuration window, click Apply > OK. Answer Yes to the message window that asks you to reanalyze the project. The requirement is imported into DOORS.
  10. In Rhapsody Gateway window, Coverage Analysis View > Selection field, expand Rule Check > Uncovered requirements.
  11. Double click on the uncovered requirement to open the Elevator specs requirements file in DOORS, and check that the requirements are listed.
  12. In Rhapsody Gateway window, select UML Model Rhapsody and click Tools > Add high level requirement. The Add high level requirements window opens.

    converter

  13. In the Add high level requirements window, select the elevator folder as the root package for the requirement, and click OK. The Add level requirements conformation window opens after the requirement is saved.
  14. Click OK, and Yes when you are asked of you want to reload the model in Rational Rhapsody.
  15. In Rational Rhapsody window, open the Documents1 > Requirements to check if the new requirement was added to the elevator project.
Now, you can add the new requirement to one of your use cases by opening the use case in Rational Rhapsody window. From the Documents1 > Requirements, you can drag the new requirement onto the use case diagram. You can also add new relations to the requirement, such as dependencies, links, and so on.
< Previous | Next >

Feedback