I want my FitNesse test setup code to look like something like this, to simulate a drag and drop interaction on a hierarchy menu:
$SalesCubeID = 1
$ProductNodeID = 3
$DropTargetID = 4
|script | hierarchy |
|selectNode; | SalesCubeID | ProductNodeID |
|dropSelectedNode; | DropTargetID|
It all works when I hard code the values into the table, but I would like to use symbols to improve the readability. But I can't work out how to set the Symbol values like this.
I have seen other code using an 'echo' fixture to set the values in a script table like this:
|script | echo fixture |
|$SalesCubeID=|echo|1|
but I get the exception:
Method echo not found in fitSharp.Slim.Operators.InvokeInstructionBase+NullInstance
What do I have to do to use the echoFixture in FitSharp? Or is there another way of setting symbols to constant values?