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
- parentExecutionId 
 Type: Microsoft.VisualStudio.TestTools.Common.TestExecId- Execution ID of the test element that is an aggregation for the specified test. 
- innerTestId 
 Type: Microsoft.VisualStudio.TestTools.Common.TestId- ID of the test element. 
Return Value
Type: Microsoft.VisualStudio.TestTools.Common.ITestElement
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.