Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: varvindea on August 11, 2016, 05:40:15 am

Title: Traceability Matrix between Use case steps and Test scenarios
Post by: varvindea on August 11, 2016, 05:40:15 am
Hi,
I created Use cases and generated External test cases for it. There is 1 test case that gets generated which consists all the possible test scenarios. When I create a Relationship matrix between Use case and test case there is one to one trace which is shown. Is it possible to get a trace between the Use case steps/flows to the Test scenario?
For e.g. Use case steps are like
main 1, 2,
3 3.Alternate 1, 2 end,
main 4, 5
In this case generated test scenarios are 2.
Basic path 1, 2, 3 ,4 ,5
Alternate -- 1, 2, 3 Alternate 1,2.
Is it possible to generate such a tractability that shows which Use case path is traversed by the test scenario?
Any help would be appreciated. Thanks
Title: Re: Traceability Matrix between Use case steps and Test scenarios
Post by: PeterHeintz on August 11, 2016, 05:14:37 pm
I am not absolutely sure (never searched for that feature), but I belief you cannot do that. What you could do, is to detail your use cases not with the steps included in the use case but creating e.g. sequence or activity diagrams instead.
Title: Re: Traceability Matrix between Use case steps and Test scenarios
Post by: Geert Bellekens on August 11, 2016, 08:49:31 pm
You can link use case steps to other elements (using the uses column).

In theory that could allow you to build a search that shows the relation between scenario's and test cases, but it won't be easy.
Scenario information is stored as an xml string in the database, so so probably the easiest way to handle those is in a script or add-in.

Geert