Share via


ITmi.GetTest Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns the test element that corresponds to the specified test ID.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Function GetTest ( _
    testId As TestId _
) As ITestElement
ITestElement GetTest(
    TestId testId
)
ITestElement^ GetTest(
    TestId^ testId
)
abstract GetTest : 
        testId:TestId -> ITestElement 
function GetTest(
    testId : TestId
) : ITestElement

Parameters

Return Value

Type: Microsoft.VisualStudio.TestTools.Common.ITestElement
A test element.

.NET Framework Security

See Also

Reference

ITmi Interface

Microsoft.VisualStudio.TestTools.Common Namespace

TestId

TestElement