Forum Discussion
- shivausumOccasional Contributor@smartbear, @others, awaiting for reply..
- googleid_105613Occasional ContributorWhat do you want to do with it? You can get the ID of the Log Folder you just created from the Log.CreateFolder call, but there's no way to get the ID of the folder aside from that. If you're looking to just write entries to the log, you don't even need to supply the Folder ID.
- shivausumOccasional ContributorWhen a bunch of scripts are batch run, I want to make sure at the end of every JScript in the Finally block that every log folder created in the script is poped out and we are at the root node of the log for a new script that follows.
- googleid_105613Occasional ContributorI understand your concern with trying to keep the log easy to analyze. I've been using TestComplete for 8 years, and I fully understand how difficult this can be at times. If you're consistent with putting the PopLogFolder call in the Finally block for each function you call, you shouldn't have any issues with the nesting of the log, and you shouldn't have to keep track of the log folder ID's. In order to make it easier, where you have sections in your main test function that you want to group in a folder, make that a separate function.