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.
Represents a test plan.
Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Public Interface ITestPlan _
    Inherits ITestObject(Of Integer), IIdentifiable(Of Integer),  _
    IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
public interface ITestPlan : ITestObject<int>, 
    IIdentifiable<int>, IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
public interface class ITestPlan : ITestObject<int>, 
    IIdentifiable<int>, IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
type ITestPlan =  
    interface 
        interface ITestObject<int>
        interface IIdentifiable<int>
        interface IPropertyOwner 
        interface IDataErrorInfo 
        interface INotifyPropertyChanged 
    end
public interface ITestPlan extends ITestObject<int>, IIdentifiable<int>, IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
The ITestPlan type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | AreaPath | Gets or sets the area path of this test. | 
| .gif) | AutomatedTestEnvironmentId | Gets or sets the GUID of the environment for automated testing. | 
| .gif) | AutomatedTestSettingsId | Gets or sets the ID for the settings to use for automated testing. | 
| .gif) | BuildDirectory | Gets the name of the folder for the build that is currently associated with this plan. | 
| .gif) | BuildFilter | Gets the set of criteria that restricts the builds that can be associated with this test plan. | 
| .gif) | BuildNumber | Gets the name of the build that is currently associated with this test plan. | 
| .gif) | BuildTakenDate | Gets the date and time that the current build was associated with this test plan. | 
| .gif) | BuildUri | Gets or sets the uniform resource identifier (URI) for the build that is currently associated with this test plan. | 
| .gif) | Description | Gets or sets the description of this test plan. | 
| .gif) | EndDate | Gets or sets the end date for this test plan. | 
| .gif) | Error | Gets an error message indicating what is wrong with this object. (Inherited from IDataErrorInfo.) | 
| .gif) | Id | Gets the identifier. (Inherited from IIdentifiable<TKey>.) | 
| .gif) | InvalidProperties | Gets a list of property names that are invalid. (Inherited from IPropertyOwner.) | 
| .gif) | IsDirty | Gets a value that indicates whether any properties have changed since the last refresh, fetch, or save. (Inherited from IPropertyOwner.) | 
| .gif) | Item | Gets the error message for the property with the given name. (Inherited from IDataErrorInfo.) | 
| .gif) | Iteration | Gets or sets the iteration to which this test plan belongs. | 
| .gif) | LastUpdated | Gets the date and time that this test plan was last updated. | 
| .gif) | LastUpdatedBy | Gets the identity of the last person to update this test plan. | 
| .gif) | LastUpdatedByName | Last person to update plan | 
| .gif) | Links | Gets a collection of external links that is associated with this test plan. | 
| .gif) | ManualTestEnvironmentId | Gets or sets the GUID of the environment for manual testing. | 
| .gif) | ManualTestSettingsId | Gets or sets the ID for the manual test settings. | 
| .gif) | Name | Gets or sets the name of this test plan. | 
| .gif) | NewBuildStatistics | Gets a set of information about what has changed since the build that is currently associated with this plan was created. | 
| .gif) | Owner | Gets or sets the identity of the person who owns this test plan. | 
| .gif) | OwnerName | User who owns the plan. | 
| .gif) | OwnerTeamFoundationId | TeamFoundationId of the user who owns the plan. | 
| .gif) | PreviousBuildUri | Gets the URI of the previous build that was associated with this test plan. | 
| .gif) | Project | Gets the test project. (Inherited from ITestObject<T>.) | 
| .gif) | Revision | Gets the current revision number for this object. (Inherited from ITestObject<T>.) | 
| .gif) | RootSuite | Gets the root test suite for this test plan. | 
| .gif) | StartDate | Gets or sets the start date for this test plan. | 
| .gif) | State | Gets or sets the current state of this test plan. | 
| .gif) | UserData | Gets or sets an arbitrary object or value that is not persisted, but allows test management objects to be dynamically extended. (Inherited from ITestObject<T>.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Clone | Creates a copy of this test plan and returns it. | 
| .gif) | CreateLink | Creates a new, empty ITestExternalLink. | 
| .gif) | CreateTestRun | Creates and returns a new automated or manual test-run for this test plan. | 
| .gif) | Delete() | Deletes this test plan and all test runs and test points that are associated with it. | 
| .gif) | Delete(DeleteAction) | Deletes this test plan and all test runs and test points that are associated with it. | 
| .gif) | FindTestPoint(Int32) | Finds and returns a test point that is specified by the test point ID. | 
| .gif) | FindTestPoint(Int32, String) | Finds and returns a test point that is specified by the test point ID. | 
| .gif) | QueryImpactedPoints(Uri) | Returns a collection of test points that is affected by all builds. This includes previous builds and the specified build. | 
| .gif) | QueryImpactedPoints(Uri, String) | Returns a collection of test points that is affected by all builds. This includes previous builds and the specified build. | 
| .gif) | QueryTestPointHierarchy | Returns the hierarchy of test suites that contains test points that match the WIQL query. | 
| .gif) | QueryTestPoints(String) | Finds and returns all test points that belong to this test plan and that match the provided query. | 
| .gif) | QueryTestPoints(String, String) | Finds and returns all test points that belong to this test plan and that match the provided point query and field value subquery. | 
| .gif) | QueryTestPoints(String, String, array<String[], Boolean) | Finds all points that belong to this plan and match the given WIQL conditions. | 
| .gif) | QueryTestPointsAndStatistics(String, String, ITestPointStatistics%) | Finds all points that belong to this plan and match the given WIQL conditions. | 
| .gif) | QueryTestPointsAndStatistics(String, String, array<String[], ITestPointStatistics%) | Finds all points that belong to this plan and match the given WIQL conditions. | 
| .gif) | QueryTestPointStatistics | Finds and returns the test point statistics that belong to this test plan and that match the given query. | 
| .gif) | QueryTestPointStatisticsByPivot | Returns statistics of points by pivot that belong to this plan and match the given WIQL conditions. | 
| .gif) | Refresh | Refreshes all objects in this test plan by using current data from the server. | 
| .gif) | RefreshRootSuite | |
| .gif) | RefreshTestCase | Refreshes all instances of the specified test case in this test plan. | 
| .gif) | Save | Saves the data from all objects in this test plan to the server. | 
| .gif) | SetBuildInfo | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) | 
Top
Remarks
This interface supports the object model for Test Case management (TCM) in Visual Studio. This interface is not intended for you to implement in a custom class, but you can use this interface in a custom class when a TCM object returns an internal implementation.