08-28-2008 05:44 AM
In the rule check i have some "uncovered requirements" and some "Requirement defined several times".
I am able to generate report for the "uncovered requirements". Please see the attached JPEG for details.
I would like to generate report for "Requirement defined several times".
I have seen loop on leaf requirements there is a condition isUncovered.
What is the condition i have to include to generate report for "Requirement defined several times"?
Please reply ASAP.
Thanks
Kalyan
08-28-2008 09:50 AM
Kalyan,
There is a built in report that shows all Rules Checking errors, which include Requirements defined multiple times.
This report is under the Library reports and is called Rules Checking. You should be able to get the information you need by patterning your report off of that one.
08-29-2008 01:45 AM
Thanks for the details. One more details i need.
How to count the "Requirements defined multiple times" using code OT scripts?
Please let me know any inbuild macro for this?
I am able to count "Uncovered Requirements" using inbuild macros.
In the rules checking there is a bold dot display before each element. How to include is?. Please see the red marked arrow in the attached image.
Thanks a lot for the quick reply.
09-03-2008 08:44 AM
Kals,
Sorry for the delay in my response.
To answer your question, I found that the following code will count the number of duplicate requirements in your project:
STR($CNT(project.errorTypes.children[parentDisplay = "Requirement defined several times"]))
In words, this code will: Count the number of children of an error type in your project who's error type display is "Requirement defined several times".
Also, the bold dot is a list. Just like when creating a table, to create a list, you must first create a List structure, and then put List Items inside of that structure. Each List Item will then have the bullet point you refer to.