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.

ITestCase Interface

 

A set of data representing a test case stored in the test management server.

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

public interface ITestCase : ITestBase, ITestObject<int>, IIdentifiable<int>, 
	IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged, IAttachmentOwner

NameDescription
System_CAPS_pubpropertyActions

Gets a collection of test action objects that are stored in the order that they are to be executed.(Inherited from ITestBase.)

System_CAPS_pubpropertyArea

Gets or sets the classification or functional area to which this test belongs.(Inherited from ITestBase.)

System_CAPS_pubpropertyAttachments

Gets the collection of attachments.(Inherited from IAttachmentOwner.)

System_CAPS_pubpropertyCustomFields

Gets a work item tracking collection of user-defined fields that are registered with the server.(Inherited from ITestBase.)

System_CAPS_pubpropertyData

Gets a DataSet that contains the parameter values that will be used when this test case is executed.

System_CAPS_pubpropertyDataReadOnly

Test data tables that are stored in the test case.

System_CAPS_pubpropertyDateCreated

Gets the date that this object was created.(Inherited from ITestBase.)

System_CAPS_pubpropertyDateModified

Gets the date that this object was last modified.(Inherited from ITestBase.)

System_CAPS_pubpropertyDefaultTable

Gets the default table in the DataSet that is returned from the Data property.

System_CAPS_pubpropertyDefaultTableReadOnly

Default table that is used for internal binding

System_CAPS_pubpropertyDescription

Gets or sets the description of this object.(Inherited from ITestBase.)

System_CAPS_pubpropertyError

(Inherited from IDataErrorInfo.)

System_CAPS_pubpropertyExists

Gets a value that indicates whether this object has been destroyed and the caller has access to the object.(Inherited from ITestBase.)

System_CAPS_pubpropertyId

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

System_CAPS_pubpropertyImplementation

Gets a reference to the automated test that implements this test case.

System_CAPS_pubpropertyInvalidProperties

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

System_CAPS_pubpropertyIsAutomated

Gets a value that indicates whether the test is automated.

System_CAPS_pubpropertyIsDirty

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

System_CAPS_pubpropertyItem[String]

(Inherited from IDataErrorInfo.)

System_CAPS_pubpropertyLinks

Gets a work item tracking collection of links to other artifacts.(Inherited from ITestBase.)

System_CAPS_pubpropertyOwner

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.(Inherited from ITestBase.)

System_CAPS_pubpropertyOwnerName

The person responsible for the automation of this test. If the test is manual, the person responsible for maintaining the test steps.(Inherited from ITestBase.)

System_CAPS_pubpropertyOwnerTeamFoundationId

The person responsible for the automation of this test. If the test is manual, the person responsible for maintaining the test steps.(Inherited from ITestBase.)

System_CAPS_pubpropertyPriority

Gets or sets the priority for executing this test.(Inherited from ITestBase.)

System_CAPS_pubpropertyProject

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

System_CAPS_pubpropertyReason

Gets or sets the reason that this object is in its current state.(Inherited from ITestBase.)

System_CAPS_pubpropertyRevision

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

System_CAPS_pubpropertyState

Gets or sets the current state of this object.(Inherited from ITestBase.)

System_CAPS_pubpropertyTestParameters

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.(Inherited from ITestBase.)

System_CAPS_pubpropertyTestSuiteEntry

Creates a new ITestSuiteEntry that contains this test case, which subsequently must be attached to an existing test suite that is in the root suite of a test plan.

System_CAPS_pubpropertyTitle

Gets or sets the title of this test or step.(Inherited from ITestBase.)

System_CAPS_pubpropertyUserData

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_pubpropertyWorkItem

Gets the underlying work item.(Inherited from ITestBase.)

NameDescription
System_CAPS_pubmethodCreateAttachment(Byte[], Int32, Int32)

Creates an attachment for a test case by using the provided byte array.

System_CAPS_pubmethodCreateAttachment(String)

Creates an attachment from a file. (Inherited from IAttachmentOwner.)

System_CAPS_pubmethodCreateAttachment(String, SourceFileAction)

Creates an attachment from a file, optionally deleting the source file after uploading.(Inherited from IAttachmentOwner.)

System_CAPS_pubmethodCreateSharedStepReference()

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

System_CAPS_pubmethodCreateTestActionGroup()

Creates a new test action group, to which steps or other groups may be added.(Inherited from ITestBase.)

System_CAPS_pubmethodCreateTestStep()

Creates a new test step.(Inherited from ITestBase.)

System_CAPS_pubmethodFindAction(Int32)

Returns the specified action from the Actions property by using the given ID number.(Inherited from ITestBase.)

System_CAPS_pubmethodFlush()

Brings the work item fields up to date by using the changes that are made in this object. (Inherited from ITestBase.)

System_CAPS_pubmethodGetReferencedSharedStep(Int32)

Return the shared step referenced by the test case. Returns null if the shared step corresponding to sharedStepId is not referenced by the test case.

System_CAPS_pubmethodGetReferencedSharedStep(Int32, Int32)

Returns a particular revision of the shared step referenced by the testcase. Returns null if the shared step corresponding to sharedStepId is not referenced by the test case.

System_CAPS_pubmethodOverrideParameter(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.(Inherited from ITestBase.)

System_CAPS_pubmethodRefresh()

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

System_CAPS_pubmethodRenameParameter(String, String)

Renames a parameter by using the provided parameter name and updates all actions that refer to the referenced parameter.(Inherited from ITestBase.)

System_CAPS_pubmethodReplaceParameter(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.(Inherited from ITestBase.)

System_CAPS_pubmethodSave()

Brings the work item fields up to date by calling the Flush method and then stores each work item to the server.(Inherited from ITestBase.)

NameDescription
System_CAPS_pubeventAttachmentUploadCompleted

This event is raised when the attachment upload is completed.(Inherited from IAttachmentOwner.)

System_CAPS_pubeventPropertyChanged

(Inherited from INotifyPropertyChanged.)

System_CAPS_pubeventTestParameterDeletingEvent

The event that is raised when test parameters are about to be deleted.(Inherited from ITestBase.)

No content here will be updated; please do not add material here.

Return to top
Show: