Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TestRun::GetTestElement Method (TestExecId^)

 

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)

public:
ITestElement^ GetTestElement(
	TestExecId^ executionId
)

Parameters

executionId
Type: Microsoft.VisualStudio.TestTools.Common::TestExecId^

The execution ID of the test element.

Return Value

Type: Microsoft.VisualStudio.TestTools.Common::ITestElement^

The test element or a null.

This method also sets the execution ID, parent execution ID, and category ID on the returned test element.

Return to top
Show: