This topic has not yet been rated - Rate this topic

TestContext.TestLogsDir Property

Gets the path to the test log directory. Deprecated. Use TestRunResultsDirectory instead.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
public virtual string TestLogsDir { get; }

Property Value

Type: String
The path to the test log directory.
ExceptionCondition
InvalidCastException

An invalid value type is associated with the TestLogsDir property of the test context.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.