How do I create a log file to store the measurements

Comments

1 comment

  • Official comment
    Ivo Clarysse

    Try

    title: Measure Resistance with No Current Applied
    suite:
    title: "Measure"
    steps:
    # Measure resistance, store in 'RESISTANCE' user key, capture in log file
    - command: measure resistance DATP01 >0Ohm
    ground: GND2
    extractKey: RESISTANCE
    # Show measurement to operator
    - command: operator "%RESISTANCE%"

    The `printResult:` and `logFile:` fields are not defined in a PLT YAML test plan, and are ignored.

    There is no way to specify a specific log file name, instead all command results are automatically logged and included in the test report available through PLTcloud.

    Comment actions Permalink

Please sign in to leave a comment.