ITestBase Interface

 

Contains the common properties and methods of ITestCase and ISharedStep

Namespace:   Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

public interface ITestBase : ITestObject<int>, IIdentifiable<int>, 
    IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
public interface class ITestBase : ITestObject<int>, IIdentifiable<int>, 
    IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
type ITestBase = 
    interface
        interface ITestObject<int>
        interface IIdentifiable<int>
        interface IPropertyOwner
        interface IDataErrorInfo
        interface INotifyPropertyChanged
    end
Public Interface ITestBase
    Inherits ITestObject(Of Integer), IIdentifiable(Of Integer), IPropertyOwner,
    IDataErrorInfo, INotifyPropertyChanged

Properties

Name Description
System_CAPS_pubproperty Actions

Gets a collection of test action objects that are stored in the order that they are to be executed.

System_CAPS_pubproperty Area

Gets or sets the classification or functional area to which this test belongs.

System_CAPS_pubproperty CustomFields

Gets a work item tracking collection of user-defined fields that are registered with the server.

System_CAPS_pubproperty DateCreated

Gets the date that this object was created.

System_CAPS_pubproperty DateModified

Gets the date that this object was last modified.

System_CAPS_pubproperty Description

Gets or sets the description of this object.

System_CAPS_pubproperty Error

(Inherited from IDataErrorInfo.)

System_CAPS_pubproperty Exists

Gets a value that indicates whether this object has been destroyed and the caller has access to the object.

System_CAPS_pubproperty Id

Gets the identifier.(Inherited from IIdentifiable<TKey>.)

System_CAPS_pubproperty InvalidProperties

Gets a list of property names that are invalid.(Inherited from IPropertyOwner.)

System_CAPS_pubproperty IsDirty

Gets a value that indicates whether any properties have changed since the last refresh, fetch, or save.(Inherited from IPropertyOwner.)

System_CAPS_pubproperty Item[String]

(Inherited from IDataErrorInfo.)

System_CAPS_pubproperty Links

Gets a work item tracking collection of links to other artifacts.

System_CAPS_pubproperty Owner

Gets or sets the identity of the person who is responsible for this test if it is automated, or the person who is responsible for maintaining the test steps if it is a manual test.

System_CAPS_pubproperty OwnerName

The person responsible for the automation of this test. If the test is manual, the person responsible for maintaining the test steps.

System_CAPS_pubproperty OwnerTeamFoundationId

The person responsible for the automation of this test. If the test is manual, the person responsible for maintaining the test steps.

System_CAPS_pubproperty Priority

Gets or sets the priority for executing this test.

System_CAPS_pubproperty Project

Gets the test project.(Inherited from ITestObject<T>.)

System_CAPS_pubproperty Reason

Gets or sets the reason that this object is in its current state.

System_CAPS_pubproperty Revision

Gets the current revision number for this object.(Inherited from ITestObject<T>.)

System_CAPS_pubproperty State

Gets or sets the current state of this object.

System_CAPS_pubproperty TestParameters

Gets a collection of all parameters that are used in the test steps in this test and all parameters that are included in any shared steps.

System_CAPS_pubproperty Title

Gets or sets the title of this test or step.

System_CAPS_pubproperty 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>.)

System_CAPS_pubproperty WorkItem

Gets the underlying work item.

Methods

Name Description
System_CAPS_pubmethod CreateSharedStepReference()

If this object is a test case, creates a new shared step reference, which gives access to another set of actions.

System_CAPS_pubmethod CreateTestActionGroup()

Creates a new test action group, to which steps or other groups may be added.

System_CAPS_pubmethod CreateTestStep()

Creates a new test step.

System_CAPS_pubmethod FindAction(Int32)

Returns the specified action from the Actions property by using the given ID number.

System_CAPS_pubmethod Flush()

Brings the work item fields up to date by using the changes that are made in this object.

System_CAPS_pubmethod OverrideParameter(String)

Overrides the specified parameter, which allows for it to be removed from the steps in this specific test case whereas it retains data about the parameter from other iterations.

System_CAPS_pubmethod Refresh()

Refreshes the current item from the server and resets the values to those that are stored in the item. Any cached data is discarded.

System_CAPS_pubmethod RenameParameter(String, String)

Renames a parameter by using the provided parameter name and updates all actions that refer to the referenced parameter.

System_CAPS_pubmethod ReplaceParameter(String, String)

Finds all instances where the provided parameter is used in actions, deletes any iteration data for each instance, and replaces it by using the provided literal text.

System_CAPS_pubmethod Save()

Brings the work item fields up to date by calling the Flush method and then stores each work item to the server.

Events

Name Description
System_CAPS_pubevent PropertyChanged

(Inherited from INotifyPropertyChanged.)

System_CAPS_pubevent TestParameterDeletingEvent

The event that is raised when test parameters are about to be deleted.

See Also

ISharedStep
ITestCase
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top