salley
6 years agoFrequent Contributor
Log.appendfolder - is creating child folder
Hello,
my script is creating a child folder when i'm using Log.Appendfolder. not sure where i'm doing wrong in my script, script and logs attached,
thanks
- 6 years ago
That's what appendfolder does... it creates a sub folder within the log folder that you are currently in.
What are you trying to do with appendfolder that is not working as expected?I quote:
TheAppendFolder
method creates a new folder in the test log and activates it. Once activated, TestComplete can send all posted messages to this folder. The folder can hold messages of different types (they are posted by theLog.Error
,Log.Warning
,Log.Message
,Log.Event
,Log.Picture
,Log.File
andLog.Link
methods) as well as other folders. - 6 years ago
If you want a new folder but not on the child level, take a look at this:
https://support.smartbear.com/testcomplete/docs/keyword-testing/reference/logging/pop-folder.html