Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To do so, use the .withElementResult method on TestRun. Setting the result for the Groovy element will ensure that the Groovy element will not be evaluated and the provided value will be used instead.

Paste code macrocode
languagegroovy
TestRun testRun = TestRun.builder()
        .withElementResult("NotComputedElement", "HardCodedValue")
        .buildLogicTest("MyLogic3")