My Fitnesse test does some underlying stuff and populates a Map with the results. The map keys can vary dramatically depending on the test, so I'd like to something like the following:
|parseFile |getValue("RecordID")|getValue("StatusCode")| ...etc... |
|foo.txt | MyId | 93 | |
I could create a getRecordID() method in the Java code, but the keys tend to vary widely (dozens of formats, each with it's own key names...supporting arbitrary customer formats). Can this be done in Fitnesse? I can't figure out how.