I am attempting to write a Dictionary Collection to a file.
The Collection is structured like so:
GlobalCollection (Collection of TestCollection)
(0)
[KEY]
[Value]
- TotalGlobal_W_Count (Integer)
- TotalGlobal_I_Count (Integer)
- TotalGlobal_F_Count (Integer)
TestCollection (Dictionary - Key, Value)
(0)
[KEY]
[Value]
- NumberOfTests (Integer)
- TestCollectionName (String)
- TypesOfTests (ArrayList)
ResultsCollection (Dictionary - Key, Value)
(0)
[KEY]
[Value]
- TotalFcount (Integer)
- TotalIcount (Integer)
- TotalWcount (Integer)
- ID (String)
- TestFolderType(String)
- TestPassed (Boolean)
- FullLog (Array)
ResultsCollection (Dictionary - Key, Value)
(0)
[KEY]
[Value]
- LineNumber (Integer)
- MessageType (String)
- ResultString (String)
I would like to write out all of the above variables to a text file while keeping the hierarchy formatting. (Note there can be number of elements in each collection object)
Thanks!!!