Ask a Question

Is it possible to poplogfolder back to root or know the indentation index?

MulgraveTester
Frequent Contributor

Is it possible to poplogfolder back to root or know the indentation index?

I have a long complex script that calls many DDTs. When I start a new DDT file I want to poplogfolder back to the root. Is there a way to do this or to know the current indentation in the log file structure?
2 REPLIES 2
dmiscannon
Frequent Contributor

Re: Is it possible to poplogfolder back to root or know the indentation index?

I'm not completely clear on what the problem is or what you are trying to accomplish, but see if this link will help.

http://support.smartbear.com/viewarticle/74197/?utm_source=site-search&utm_medium=search-results&utm...

 

If this doesn't help, can you provide more details on what you are attempting to do?

Marsha_R
Community Hero

Re: Is it possible to poplogfolder back to root or know the indentation index?

I couldn't find any built in way to do it.  You could try incrementing a counter every time you do pushlogfolder and then have a routine that loops up to the counter and just does poplogfolder to get you out of the indent, which you would then run right before a new DDT.

cancel
Showing results for 
Search instead for 
Did you mean: