Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the test element that has the specified execution ID.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Function GetTestElement ( _
executionId As TestExecId _
) As ITestElement
public ITestElement GetTestElement(
TestExecId executionId
)
public:
ITestElement^ GetTestElement(
TestExecId^ executionId
)
member GetTestElement :
executionId:TestExecId -> ITestElement
public function GetTestElement(
executionId : TestExecId
) : ITestElement
Parameters
executionId
Type: Microsoft.VisualStudio.TestTools.Common.TestExecIdThe execution ID of the test element.
Return Value
Type: Microsoft.VisualStudio.TestTools.Common.ITestElement
The test element or a null.
Remarks
This method also sets the execution ID, parent execution ID, and category ID on the returned test element.
.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.