I'm facing a problem with Fitnesse.
I have the following testcase with these steps.
- Generate XML
- send xml
- read answer
- return property from answer
I have another testcase that should use that return value.
Can I set a global variable that I can use in my whole testsuite? (Btw the return value is variable)
Thanks in advance.
It sounds like a bit design-smell to pass data between tests. But maybe there is a good reason for doing so in your situation. If it is done in a SuiteSetUp or SetUp it might more expected.
You can store the property in a Slim Symbol and read that property in the other test. Or, least preferred approach, you can create your own static variable in a fixture and pass data using that.