Skip to the content.

fwk.executeScript

This action executes another script inside the current script’s execution. It allows to reuse other scripts to create a modular, scalable and maintainable automation design.

Use cases

Parameters

1: script

script: "script name"

2: version

version: "1"

3: paramlist

paramlist: "parameter list"

4: paramfile

paramfile: "parameter file path"

Examples

  - number: 1
    type: "fwk.executeScript"
    name: "example1"
    description: "Exectue version 1 of script"
    component: ""
    condition: ""
    iteration: ""
    errorExpected: "N"
    errorStop: "N"
    parameters:
    - name: "script"
      value : "helloworldversion"
    - name: "version"
      value : "1"
  - number: 2
    type: "fwk.executeScript"
    name: "example1"
    description: "Execute latest version of script"
    component: ""
    condition: ""
    iteration: ""
    errorExpected: "N"
    errorStop: "N"
    parameters:
    - name: "script"
      value : "helloworldversion"
    - name: "version"
      value : ""

Note: the parameter version can also been removed from the yaml definition since it is empty.