First, a use case is defined using an XML template like this:

 

Then, ValueGen tool generate the activity diagram (using ObjectGen tool). From the activity diagram, a list of operational variables and domains are obtained as a XML file:

Then, contsraints are calculated and a script is generated for calculating all combinations using the constraints. A fragment of the generated script is showed here:

The execution of the srcipt is showed here.