Log.appendfolder - is creating child folder
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.Error
, Log.Warning
, Log.Message
, Log.Event
, Log.Picture
, Log.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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks,, i was missing Log.PopLogFolder
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot, i wasn't looking for a child folder. Log.PopLogFolder was missing in my code
