https://i0.wp.com/bellekens.com/wp-content/uploads/2023/03/image-5.png?fit=443%2C223&ssl=1 223 443 Geert Bellekens https://bellekens.com/wp-content/uploads/2023/03/BellekensWebsiteLogo_340x73.webp Geert Bellekens2023-03-11 18:25:522023-03-23 17:22:48Using Document Script fragments in Sparx EA
In this article we discover the possibilities of Document Script fragments when dealing with complex requirements for document geneneration templates in Sparx Enterprise Architect.
The other day I got a difficult request for a document generation template. At this client they are documenting Use Case scenarios using the structured scenario editor in EA. Each scenario step can be linked to a requirement element.
Each Requirement could have one or more constraints
Based on these scenarios the customer wanted to generate a test scenario document that contained a table like this
|Step||Step description||Requirement||Requirement constraints|
|1||User chooses to make a new reservation|
|2||System show the reservation screen where the user can enter Begin, Endate and Roomtype|
|3||User enters begindate and enddate or the numbers of nights||REQ_RV_ 403 Reservation period||Invariant: StartDate < Enddate|
Post-condition: A reservation must have a reservation period in the future
The first three columns are available in the standard point and click templates, but the problematic part is the Requirement constraints.… Read more