The Adaptavist Group LogoDocumentation

Examples

  • To define a script variable with the name MY_FIRST_SHARED_VAR with the value testValue, run the following code:

    logger.info("My variable has a value: "+ MY_FIRST_SHARED_VAR)

    You should see the log with the following content:

    INFO - My variable has a value: testValue
  • To define a variable with the name NO_RETRIES with a value of '5', run the following code:

    NO_RETRIES + 10

    The result will be 510 (string concatenation), rather than 15.

Search documentation

Start typing to search the docs.