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.

ITestElement Interface

 

Represents a test object that is used internally in the test framework of Visual Studio, and is the interface that is implement by all test cases.

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

public interface class ITestElement : ICloneable, IVerifiable, 
	IVisiblePropertyProvider

NameDescription
System_CAPS_pubpropertyAbortRunOnAgentFailure

Gets or sets a value that indicates whether to abort the whole test run if a test agent fails.

System_CAPS_pubpropertyAdapter

Gets the associated test adapter that is used to execute the test.

System_CAPS_pubpropertyAgentAttributes

Gets a dictionary of agent attributes or restrictions for the current test run.

System_CAPS_pubpropertyCanBeAggregated

Gets a value that indicates whether this test element can be inserted into aggregation tests.

System_CAPS_pubpropertyCategoryId

Gets or sets the test list category ID for this test element.

System_CAPS_pubpropertyControllerPlugin

Gets the name of the associated controller plug-in.

System_CAPS_pubpropertyCopy

Gets a copy of this test element.

System_CAPS_pubpropertyCreatedByUI

Gets or sets a value that indicates whether this test element was created by the user interface.

System_CAPS_pubpropertyCssIteration

Gets or sets the iteration path for an associated work item.

System_CAPS_pubpropertyCssProjectStructure

Gets or sets the area path for an associated work item.

System_CAPS_pubpropertyDeploymentItems

Gets a collection of files to be deployed with a test case.

System_CAPS_pubpropertyDescription

Gets or sets a description for this test element.

System_CAPS_pubpropertyEnabled

Gets or sets a value that indicates whether this test element is enabled.

System_CAPS_pubpropertyErrorMessageForNonRunnable

Gets the error message to use when this test cannot be executed.

System_CAPS_pubpropertyExecutionId

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

System_CAPS_pubpropertyGroups

Gets a collection of property descriptors that represent the groups to which the properties of this test element belong, and determines how they will be grouped in the properties window of the user interface.

System_CAPS_pubpropertyHumanReadableId

Gets the ID of this test element as it appears in the user interface.

System_CAPS_pubpropertyId

Gets the ID for this test element.

System_CAPS_pubpropertyIsAutomated

Gets a value that indicates whether this test element object is automated.

System_CAPS_pubpropertyIsGroupable

Gets a value that indicates whether this test element object can be grouped together with other test element objects.

System_CAPS_pubpropertyIsModified

Gets a value that indicates whether this test element object has been modified.

System_CAPS_pubpropertyIsRunnable

Gets a value that indicates whether this test element can be executed as part of a test run.

System_CAPS_pubpropertyIsRunOnRestart

Gets a value that indicates whether the test run will restart with this test if it crashes during a test run.

System_CAPS_pubpropertyLink

Gets a link that can be used to access this test element.

System_CAPS_pubpropertyName

Gets or sets the name of this test element.

System_CAPS_pubpropertyOwner

Gets the owner name as it is entered by the user in the user interface.

System_CAPS_pubpropertyParentExecId

Gets the test execution ID for the parent object.

System_CAPS_pubpropertyPriority

Gets or sets a numeric indication of priority for this test element.

System_CAPS_pubpropertyProjectData

Gets the project data object for this test element.

System_CAPS_pubpropertyProjectName

Gets the name of the project to which this test element belongs.

System_CAPS_pubpropertyProjectRelativePath

Gets the relative path of the test project.

System_CAPS_pubpropertyProperties

Gets a collection of the properties for this test element.

System_CAPS_pubpropertyReadOnly

Gets a value that indicates whether this test element is read-only.

System_CAPS_pubpropertySolutionName

Gets the name of the solution that contains this test element.

System_CAPS_pubpropertySourceFileName

Gets the path and file name for the test that contains this element.

System_CAPS_pubpropertyStorage

Gets or sets the path of the storage location of the deployment items for this element.

System_CAPS_pubpropertyTestCategories

Gets a collection of test category items that is assigned to this test element by the user in the user interface.

System_CAPS_pubpropertyTestType

Gets the test type for this test element.

System_CAPS_pubpropertyTimeout

Gets or sets the number of milliseconds before the execution of this test element times out.

System_CAPS_pubpropertyUserData

Gets or sets an object that contains nonpersistable arbitrary data for a custom test element.

System_CAPS_pubpropertyVisibleProperties

Gets a collection of property descriptors for properties that are visible to the user.(Inherited from IVisiblePropertyProvider.)

System_CAPS_pubpropertyWorkItemIds

Gets a list of work items that is associated with this test element.

NameDescription
System_CAPS_pubmethodAssignIsRunnable(Boolean, String^)

Assigns values for the IsRunnable and ErrorMessageForNonRunnable properties.

System_CAPS_pubmethodClone()

(Inherited from ICloneable.)

System_CAPS_pubmethodIsValid()

When implemented in a derived class, gets a value that indicates whether the essential elements are available and valid.(Inherited from IVerifiable.)

Return to top
Show: