Post

1 follower Follow
0
Avatar

Custom Matrix Report, need to pull in Test Scenarios

I'm attempting to create a traceability matrix that will display test cases in the rows, and requirements for the columns (or vice-versa, doesn't matter to me).  I was trying to modify the canned "Matrix - Use Cases and Referenced Requirements" matrix to accomplish this, but I'm having a problem.  I'm thinking I need some sort of repeat loop on use case to pull the test scenarios, but I can't get it to work.  I'm guessing a repeat loop doesn't play well with the matrix keywords.  I've attached the file that I'm messing with, and an example of what it produces when I run it. 

There are two tabs, one with my test report, and the other with the original.  My test one has the Use case with matrix keyword in column a, then the test scenario name in column b.

Any help would be appreciated! 

Nick Magnuson Answered

Please sign in to leave a comment.

3 comments

0
Avatar

Hi Nick. Without knowing a little better about what it is you're trying to accomplish, it's a little difficult to say how (or even if) it can be done.

You mentioned creating a matrix between test cases and requirements, but what information would the checkmark denote? Test cases can only be owned by exactly one use case or requirement, so I'm not sure how helpful a matrix view would be. Are you trying to show some sort of relationship between use cases and requirements, test cases and requirements, or something else?

Permanently deleted user 0 votes
Comment actions Permalink
0
Avatar

The canned matrix for requirements to use cases is somewhat useful, but it would be helpful if I could see which test scenarios map to each requirement.  The checkmark would show which requirement each test scenario is related to (based on which requirement each use case is related to), which would help me determine the amount of coverage I have (or lack of coverage) for my requirements.  I doubt it could be done exactly like I need, so I might have to use a few different reports to achieve this. 

Nick Magnuson 0 votes
Comment actions Permalink
0
Avatar

I'm sorry, but I'm afraid I still don't quite follow to your desired end result. I've attached a modified version of the template sample you sent us that may produce what you're looking for. Instead of $list, we used $listInCell, which should get your use case test scenarios to display more consistently.

If that's still not quite right, let me try going at this from another way.

Beginning with CaseComplete 2012, requirements can now own their own set of multiple test scenarios. As you hinted at above, the test scenarios for your use cases don't relate directly to any requirements, and only do so indirectly through their owning use cases. In 2012, though, each requirement can have a number of test scenarios, which might be a bit more beneficial to you, and you could then generate reports based directly upon which requirements had test scenarios associated with them.

Permanently deleted user 0 votes
Comment actions Permalink