Using values from the decision table or from test data

In numeric test statements, values from the decision table and values from test data can be used.

Examples

num ReductionFactor = 1 - ${ *LFET.Value.Symbol }

For a condition or action value with the symbol ‘5%’, the variable ReductionFactor is assigned the value 0.95.

num Amount = ${ *GTD.ShoppingCart.Value } * ReductionFactor

With a shopping cart value of EUR 568.50, the variable Amount receives the value 540.075 with the above ReductionFactor.