UITestTraceUtility.StartTracing Method (String)

Returns a trace listener stream for tracing that saves log files in the specified folder.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public static TextWriterTraceListener StartTracing(
	string logFolder
)

Parameters

logFolder
Type: System.String
The directory where log files from UI modules are stored.

Return Value

Type: System.Diagnostics.TextWriterTraceListener
A trace listener stream.

If no value is provided in the logFolder parameter, log files are stored in the TEMP folder.

Community Additions

ADD
Show: