3.9.6 Concatenating (combining) parameters

Jubula has various different types of parameter:

You can use these parameters separately, or you can combine them to create a parameter value. This is useful if a value you want to enter or check consists of parts that change and parts that stay the same.

To combine different types of parameter to make one value, you must write them in a specific way:

  1. Referenced parameters must be written with curly brackets around the reference name:
    "={REF_NAME}"
  2. Variable names must also be written with curly brackets around them:
    "${VAR_NAME}"
  3. Concrete values are written as normal.
  4. For example, to check a file name which has the format test_projectname_filenumber, you could enter a parameter thus:
    "test_={PROJECTNAME}_${FILENUMBER}"
    The date value would come from a reference, and the file number from a variable read from the AUT .



Copyright BREDEX GmbH 2011. Made available under the Eclipse Public License v1.0.