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::GetInnerTests Method (TestExecId^)

 

Retrieves the inner tests for the test that has the specified execution ID.

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

public:
array<ITestElement^>^ GetInnerTests(
	TestExecId^ executionId
)

Parameters

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

The unique execution ID for the test.

Return Value

Type: array<Microsoft.VisualStudio.TestTools.Common::ITestElement^>^

The inner test that has the specified execution ID. Returns null if the test that has the specified execution ID is not present in the test run, or is not an aggregation.

If any test presents itself more than one time as an inner test, a cloned copy of the test will be present in the returned array. Each copy will have the correct execution ID.

Return to top
Show: