Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Counting Modules linked to an object
Topic Summary: Conting object to object In-links is straightforward - How do you count the number of modules?
Created On: 23-Apr-2008 13:40
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 23-Apr-2008 13:40
User is offline View Users Profile Print this message


Rob Kohl

Posts: 22
Joined: 22-Aug-2006

My program office has changed their mind again (what a surprize). Now they want to know how many Test Cases are linked to each SW requirement.

The original scheme was to count the individual test steps (objects) linked to a requirement (object). Now they want a roll up of how many Test Cases (modules) are linked to a requirement (object). e.g. A requirement has 6 links to test steps divided between 2 Test Cases. They no longer want to see the number 6, they want to see the number 2 plus the name of the test case module (only once each - not each one three times).

What the wizard does now:

<<Requirement 1>> <<Test Case 1>> <<No. In-links = 6>>
<<Test Case 1>>
<<Test Case 2>>
<<Test Case 1>>
<<Test Case 2>>
<<Test Case 2>>
What they want:

<<Requirement 1>> <<Test Case 1>> <<No. Test Cases = 2>>
<<Test Case 2>>

To date there are 200 test cases and growing. I don't want to have to redo the links already created. Plus at any moment they may change their minds again and want to revert back.

Each Test Case module has a separate linkset to the SW requirmement module. I want to start htere but don'e know how to get the information I want.

Anyone have any ideas?

Thank you,

Rob Kohl
Report this to a Moderator Report this to a Moderator
 23-Apr-2008 14:04
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Just to clarify before I post any DXL (I have a couple scripts doing something simlar)....

You have an object (the requirement), that has links from test cases which may or may not be in the same test case module. (Are the links to or from the requirement i.e. in links or out links with reference to the requirement?)

You want to count the number of test case modules linked to the one object (requirement), not the number of links.

Does that pretty much sum up what you're looking for?

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 23-Apr-2008 14:27
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Down and dirty method, prints the number of modules linked to the requirement and thier full names to the DXL Editor. Select the object, run the script.

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 23-Apr-2008 15:37
User is offline View Users Profile Print this message


Rob Kohl

Posts: 22
Joined: 22-Aug-2006

Thanks Scott - this worked well.

I changed the print function to display so it would show up in a dxl layout column. I also changed fullName to name (to strip out path informantion) and was able to give the PMO what they wanted.
Report this to a Moderator Report this to a Moderator
 30-Apr-2008 15:37
User is offline View Users Profile Print this message


Andrew Tagg

Posts: 151
Joined: 26-Oct-2004

You could smarten this up a bit by buffering the results to a skip list, this way you only see each module once. No code with me right now but will post later

-------------------------
Andrew Tagg
Thales Air Systems, Melbourne
Australia.
andrew.tagg@thalesatm.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.