Forum Discussion
5 Replies
- BabuluContributor
- Colin_McCraeCommunity Hero
So export them and store the result elsewhere after the run?
- Colin_McCraeCommunity Hero
I've merged your two posts.
They asked the same question. But one contained more info than the other.
Please don't ask the same question in multiple posts. It doesn't help anyone. Including you.
- cunderwCommunity Hero
Are you saying files system folders? Or expandable folders in the log itself?
If you want to create folders inside the log, these two functions should give you what you need.
// creates a new sub-section in the log that is indented and collapsable function indentLog(sDescription) { var oAttr; oAttr = Log.CreateNewAttributes(); oAttr.Bold = true; STEP_ID = Log.CreateFolder(sDescription, "", pmNormal, oAttr); Log.PushLogFolder(STEP_ID); } // restores to last position in the log function outdentLog(sExpected) { if(sExpected == undefined) { sExpected = "Finished"; } Log.Message(sExpected); Log.PopLogFolder(); }