Share via


ITestElement.ExecutionId Property

Gets or sets the current execution ID for this test element.

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

Syntax

'Declaration
Property ExecutionId As TestExecId
TestExecId ExecutionId { get; set; }
property TestExecId^ ExecutionId {
    TestExecId^ get ();
    void set (TestExecId^ value);
}
abstract ExecutionId : TestExecId with get, set
function get ExecutionId () : TestExecId 
function set ExecutionId (value : TestExecId)

Property Value

Type: Microsoft.VisualStudio.TestTools.Common.TestExecId
The current execution ID for this test element.

Remarks

Several instances of the same test element may share the same test ID in an execution unit. Prior to execution, all tests in the unit are assigned a number that is unique for that execution.

.NET Framework Security

See Also

Reference

ITestElement Interface

Microsoft.VisualStudio.TestTools.Common Namespace

TestExecId