...
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 | ||
---|---|---|
| ||
TestRun testRun = TestRun.builder() .withElementResult("NotComputedElement", "HardCodedValue") .buildLogicTest("MyLogic3") |