[SNIP]
The problem is that t_object relates on a one to many basis to both t_objecttest and t_objectrequirement (in your case t_objectscenarios). Thus, although Paolo's suggestion may work in simple situations, when you get to test cases that attend to >1 scenario and v.v. you'll run into problems.
Good luck!
bruce
Clarification: When I said link Test Case, I meant using a Test Case object, not the "element based Test Case". Also, I used the partition to define the scenario since although EA provides the concept of a scenario on a per-element basis, it doesn't provide a global one (as it does with Test Case). Orthogonality, orthogonality, orthogonality
TMbruce (as usual) is perfectly right regarding the use of the "internal" versions of these concepts and the one-to-many relationships. Hence my usual avoidance.
Perhaps, if we asked nicely, the Sparxians would provide a fix for this. Personally, I would never have built any of these element based concepts as one-to-many. In the real world, they are really many-to-many (as evidenced by the kinds of "hacks" bruce has had to make). To me it's a rendering problem. If I say add a Test Case to this element, I mean create a (global)Test Case and link it to this element. that way If I need to use it elsewhere, I can use the create link functionality to link another element to the existing case.
bruce, given my clarification, will this not work - in the general case? I'm interested as I intended to go down this path myself in the not too distant future, but if there's a fundamental flaw in it, I'd rather fix it now than refactor later...
Thoughts anyone?
Paolo