Script Generation from Rose
Scenario Tests
9
QualityArchitect interprets the messages in the interaction diagram and generates test
scripts for one or more receiver objects in the diagram. (The receiver object is the object
that receives the message.)
Each message in a diagram corresponds to an operation of a class, either by direct
linkage through the diagram or by name. Each argument in a message maps to a
corresponding parameter object attached to the operation object of the class.
As it generates the test script, QualityArchitect allows you to insert an optional
verification point for each message in the diagram. (A verification point is a functional
testing construct used by a test script to verify specific behavior. For more
information, see Verification Points on page 25.)
Scenario test scripts include support for datapools, logging, and verification points.
(A datapool is a set of records that you can use to drive a test script. For details, see
Datapools on page 23.) The scenario test templates provide automatic support for
datapools and logging, while verification points can be added during script
generation.
Receiver object for
openAcct
message
Receiver object for
deposit
message