Creating a Rich Text Format (RTF) document is a simple and flexible process. An RTF document is based on a package or an element in your project (more usually a package). To produce a document, you must select the package or element to report on in the Project Browser window or Element List or Model Search.
Tip: Reports can be configured to include all packages within a parent package, or just the top level.
When you have selected your package, use the context menu to open the Generate RTF Documentation dialog and configure the details of your document. The next topic guides you through creating a rich text report.
Open the Generate RTF Documentation Dialog
Use one of the following methods:
|·||In the Project Browser window, right-click on the required package and, on the context menu, select the menu option|
|·||Click on a specific element in a diagram, and select the menu option|
|·||In the Element List or Model Search, select one or more items, right-click and, from the context menu, select either the option or the option.|
See the Generate RTF Documentation Dialog and related topics for more information.
To generate an RTF report right now, follow the steps below:
|1.||Open the EAExample project.|
|2.||Open the QA Model package and right-click on the Testing package .|
|3.||Select the context menu option. The Generate RTF Documentation dialog displays.|
|4.||In the field, select a convenient file location in which to hold the generated report.|
|5.||In the field, click on the drop-down arrow and select .|
|7.||When the report has been generated, click on the button.|
Generate RTF Report From Element List or Model Search
When you select to create an RTF Report from the Element List or Model Search tools, you can generate an element-level report rather than a package-level report, and you have additional flexibility in selecting:
|·||The type of element to report on|
|·||The specific elements to report on, together or separately, whether in the same package or not.|
For example, you might want to find all elements with test cases, with the intention of reporting on some or possibly all such elements. With the Element List, you would identify these elements yourself within the list of all elements in a selected package, but with the Model Search you could specifically identify the elements across a section of the model or across the whole model, as required. The search filtering could be for specific test cases; however, the results are by element so if there are test cases outside the range in any element that has a filtered test, these elements are listed as well.
Having generated the list of elements, you can select individual elements, blocks of elements, or all elements, and then (as above) use the context menu to generate a report on all of the elements, or separate reports on each element.