Organizing Use Cases and Traceability
When a project grows beyond a handful of requirements, it becomes hard to keep track of what belongs where. Use cases are a natural fit for that because they map directly to user stories and system behavior. By treating each use case as a first‑class requirement you can apply the same rigor that you would to any business need. The first step is to decide on a consistent naming convention, such as UC‑module‑number, and attach a short, descriptive title. That simple practice lets you filter by module or priority in any future query. Next, you need to capture the relationships that exist between the use cases and other artifacts: business goals, functional requirements, design elements, and test cases. In Rational RequisitePro you can establish traceability links that form a web of dependencies. With those links in place, a change in the business strategy can be traced all the way down to the affected use cases and then up to the corresponding test cases. The result is a clear, auditable path from a high‑level objective to the final line of code. The same path can be walked in reverse, for example to verify that every critical business goal is supported by a concrete use case and that every use case has at least one test case attached. That visibility eliminates the “we never heard about this requirement” moments that often derail releases. By integrating the traceability map into your day‑to‑day workflow you gain a live dashboard of project health that shows which use cases are ready for delivery, which are blocked by missing prerequisites, and which are in risk because of recent changes. Finally, you should schedule regular reviews of the traceability matrix. Even a brief 15‑minute walk through the matrix at a sprint planning session can reveal hidden gaps or inconsistencies before they become costly defects. That kind of discipline turns ad‑hoc tracking into a disciplined, repeatable practice that scales with your team.
Setting Up the Integration
Connecting Rational Rose to a Rational RequisitePro project gives you a single source of truth for all your requirements. The association can be done at the model level or on a per‑package basis; the choice depends on the size and complexity of your solution. For a modest project, a single association at the model level is sufficient. Larger endeavors that contain multiple subsystems or business domains often benefit from separate RequisitePro projects for each package. That way you can keep the business use cases, system use cases, and technical constraints neatly separated while still allowing cross‑package traceability. To establish the link, open your Rose model and use the “Associate with RequisitePro” wizard. The wizard prompts you to point to the existing RequisitePro database or to create a new one. Behind the scenes, Rose stores the association as a property on the model or package, and every use case inherits that link automatically. When you later open a use case in Rose and choose “Use Case Document → New,” Rose will launch Microsoft Word and insert a template that already contains the appropriate header and table of contents. That template is not a generic placeholder; it is a proven pattern from Rational Unified Process that includes sections for actors, preconditions, main flow, alternative flows, and postconditions. By starting from that template you avoid the temptation to reinvent the wheel and you ensure that every use case follows the same structure, which simplifies later review and traceability.
Once the association is in place, the RequisitePro database becomes your central repository for attributes, revisions, and security settings. All the metadata you attach to a use case in Rose - priority, iteration, risk level, effort estimate - is stored in the database, and the same data is reflected in the Word document when you open it. If you decide to change the attribute set, you simply edit the database schema, and the next time you open a use case the new attributes appear automatically. That dynamic linkage means you can evolve your process without having to redo your entire set of documents. Additionally, because RequisitePro stores every change in a change history table, you can audit any requirement in a few clicks, seeing who made the change, why, and when. In practice this audit trail reduces the need for manual sign‑offs and speeds up the release cycle. The database also allows you to define security roles; for example, you might allow only business analysts to edit the business requirement attributes while developers can only add test links. That fine‑grained control keeps the model consistent while still giving the right people the right level of access.
After the integration is established, you’ll notice that many of the new capabilities in Rose appear as extra options in the context menu. The “Use Case Document” menu gives you quick access to create a new document or to associate an existing one. The “Requirement Properties” menu opens a dialog where you can edit attributes and set up traceability links. Those menus are the primary touch points for most developers and analysts, so it pays to explore them thoroughly. The next sections will walk through the specific steps you take when you click those options, so you’ll know exactly what each menu item does and how it fits into the larger requirement lifecycle.
Managing Use Cases in Rational Rose
When you first right‑click a use case in the Rose browser, the context menu shows a handful of new options that you’ll want to use on a daily basis. The “Use Case Document → New” command brings up a Microsoft Word template that has all the standard sections for a Rational Unified Process use case. The template’s formatting is not arbitrary; it follows a consistent pattern that makes the use case easy to read and validate. Once the document is open, you can start filling in the details - actors, preconditions, main flow, alternate flow, and postconditions - right from the familiar Word interface. Because the document is linked to the Rose model, any changes you make in Word are automatically persisted back to the RequisitePro database. If you want to attach a different document to an existing use case, the “Use Case Document → Associate” option lets you pick an existing Word file from the RequisitePro library. That flexibility means you can keep a single source of truth for each use case, whether it’s a simple text file or a rich Word document.
The next most powerful option is “Requirement Properties.” Selecting that menu item opens a dialog that lets you edit all the metadata associated with the use case. In the Attributes tab you’ll find fields for priority, risk level, effort estimate, iteration number, and any custom attributes you have defined in the database. The value you assign to each field can influence how the use case is planned for future releases. For instance, a use case with a high priority and low effort estimate will be a natural candidate for the next sprint. In the Traceability tab, you can create links to other requirements, test cases, design elements, or even other use cases. These links are bidirectional; if you add a link in Rose, the same link appears in the Word document and in any other tool that reads from the RequisitePro database. By maintaining traceability, you can run a query that lists all use cases that have no associated test cases, alerting you to gaps in coverage before the build starts.
Beyond attributes and traceability, the Requirement Properties dialog also exposes the revision history for the use case. Clicking on the Revisions tab shows a table that lists every change, who made it, and why. You can roll back to a previous version if a recent change introduced an error, or you can simply review the history to understand how the requirement evolved. In addition, you can set security flags that restrict who can edit certain attributes or add traceability links. For example, only the product owner may change the priority field, while developers can update the iteration number as they estimate effort. These controls help keep the model consistent and prevent accidental overwrites. By using these features regularly, you turn what might otherwise be a static document into a living artifact that drives development, testing, and stakeholder communication.
Benefits of Integrated Use Case Management
When a use case is fully integrated into the Rational RequisitePro ecosystem, it becomes part of the same data store that holds all other requirements. That integration means you can leverage RequisitePro’s powerful reporting and querying tools on the same data you edit in Rose. For instance, the Attribute Matrix view lets you sort use cases by priority, iteration, or any custom attribute. You can filter to show only the use cases that are planned for the next release, then export that list to a spreadsheet for the release manager. The same filter can show use cases that are blocked because they lack a prerequisite requirement, giving the team a clear picture of dependencies. In a larger organization, you might even create a dashboard that aggregates metrics across multiple subsystems, so executives can see at a glance which parts of the solution are on schedule and which are at risk.
Another key advantage is the ability to verify test coverage automatically. The Traceability Matrix view in RequisitePro shows the relationship between use cases and test cases side by side. If a test case is missing for a use case, the matrix will flag it as an orphan. Testers can then use that information to create new test cases or update existing ones. Similarly, if you change a use case, the matrix shows which test cases are affected, so the testing team can focus their retesting efforts. The matrix also makes it easy to identify “suspect” links - those that indicate a test case may need to be updated due to a change in the use case. By keeping the test suite aligned with the use cases, you reduce the chance of a defect slipping through because a test case was not updated.
Finally, the integrated approach brings a single source of truth to everyone involved. Stakeholders, developers, testers, and business analysts all work from the same data. When a business user proposes a new requirement, they can create a use case directly in Rose, associate it with the RequisitePro project, and let the change propagate to the rest of the team. Because all artifacts are traceable, any change you make automatically updates the associated documents, test cases, and metrics. That transparency makes it easier to obtain buy‑in from management, because you can show concrete evidence that every requirement is being tracked, prioritized, and tested. In short, the integrated use case management approach turns the chaotic “different tools, different views” problem into a coordinated workflow that keeps everyone on the same page.





No comments yet. Be the first to comment!