Ask a Question

Log.appendfolder - is creating child folder

Frequent Contributor

Log.appendfolder - is creating child folder


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, 


Esteemed Contributor

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:

The AppendFolder 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 the Log.ErrorLog.WarningLog.MessageLog.EventLog.PictureLog.File and Log.Link methods) as well as other folders.

Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

If you want a new folder but not on the child level, take a look at this:

Frequent Contributor

Thanks,, i was missing Log.PopLogFolder

Frequent Contributor

Thanks a lot,  i wasn't looking for a child folder. Log.PopLogFolder was missing in my code

Showing results for 
Search instead for 
Did you mean: