Forum Discussion
AlexKaras
Champion Level 3
Hi,
Log.AppendFolder() on loop start with the complimentary Log.PopLogFolder() on loop end.
jcatayong
7 years agoContributor
Hi,
Can you give me a sample script on how to use this?
thanks,
- AlexKaras7 years agoChampion Level 3
For example, check the <Users>\Public\Documents\TestComplete 12 Samples\Web\Orders\Web\ sample project, Main function.
E.g.:Sub Main Dim i, BrowserName Call Log.Message("Found " + aqConvert.IntToStr(Browsers.Count) + " browsers:") For i = 0 To Browsers.Count - 1 Call Log.AppendFolder(Browsers.Item(i).Description) Call Browsers.Item(i).Run("http://support.smartbear.com/samples/testcomplete12/WebOrders/") Call Test() Call Log.PopLogFolder() Next End Sub
Related Content
- 12 months agoMW_Didata