Share via


TestRun.GetTestElement Method (TestExecId, TestId)

Returns the test element that has the specified ID and the execution ID of its parent.

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

Syntax

'Declaration
Public Function GetTestElement ( _
    parentExecutionId As TestExecId, _
    innerTestId As TestId _
) As ITestElement
public ITestElement GetTestElement(
    TestExecId parentExecutionId,
    TestId innerTestId
)
public:
ITestElement^ GetTestElement(
    TestExecId^ parentExecutionId, 
    TestId^ innerTestId
)
member GetTestElement : 
        parentExecutionId:TestExecId * 
        innerTestId:TestId -> ITestElement
public function GetTestElement(
    parentExecutionId : TestExecId, 
    innerTestId : TestId
) : ITestElement

Parameters

Return Value

Type: Microsoft.VisualStudio.TestTools.Common.ITestElement

.NET Framework Security

See Also

Reference

TestRun Class

GetTestElement Overload

Microsoft.VisualStudio.TestTools.Common Namespace

TestExecId

ITestElement