This topic has not yet been rated - Rate this topic

ITestCaseResult Interface

Represents the status of a test case that is executed against a test run.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
public interface ITestCaseResult : ITestResult, 
	IAttachmentOwner, INotifyPropertyChanged, IIdentifiable<TestCaseResultIdentifier>

The ITestCaseResult type exposes the following members.

  NameDescription
Public propertyActionRecordingGets the action recording of the test case.
Public propertyArtifactUriThe uniform resource identifier (URI) that is used internally by Visual Studio Application Lifecycle Management (ALM) to link this result with other objects in Visual Studio ALM.
Public propertyAttachmentsGets the collection of attachments. (Inherited from IAttachmentOwner.)
Public propertyCollectorsEnabledGets a list of the data collectors that are enabled for this result. (Inherited from ITestResult.)
Public propertyCommentGets or sets the accumulated comments that were entered by those who analyzed this result. (Inherited from ITestResult.)
Public propertyComputerNameGets or sets the name of the computer where the test was executed.
Public propertyDateCompletedGets or sets the date that the test was completed. (Inherited from ITestResult.)
Public propertyDateCreatedGets or sets the date that the test was created. (Inherited from ITestResult.)
Public propertyDateStartedGets or sets the date that the test was started. (Inherited from ITestResult.)
Public propertyDurationGets or sets the time that was spent to execute the test. This does not include the time during which the execution was paused. (Inherited from ITestResult.)
Public propertyErrorMessageGets or sets a description of the failure, if the test failed. (Inherited from ITestResult.)
Public propertyFailureTypeIf the test failed, gets the type of failure.
Public propertyIdGets the identifier. (Inherited from IIdentifiable<TKey>.)
Public propertyImplementationGets the automated test for this result.
Public propertyIsFinishedGets a value that indicates whether the test has been run.
Public propertyIterationsGets a collection of detailed results for each iteration of the test.
Public propertyLastUpdatedGets the date and time that this result was last updated.
Public propertyLastUpdatedByGets the identity of the person who last updated this result.
Public propertyOutcomeGets or sets an indication of the outcome of the test. (Inherited from ITestResult.)
Public propertyOwnerGets the identity of the person who is responsible for running or investigating the test.
Public propertyPriorityGets or sets the priority to execute or analyze the test.
Public propertyResetCountGets the number of times that this result has been reset.
Public propertyResolutionStateIdGets a numeric identifier for tracking the investigation of finished tests.
Public propertyRevisionGets the revision number of this result for concurrency control.
Public propertyRunByGets the identity of the person who executed the test.
Public propertyStateGets the status of the test.
Public propertyTestCaseAreaGets the area path of the test case.
Public propertyTestCaseIdGets the ID of the test case that is being executed.
Public propertyTestCaseRevisionGets the revision of the test case that should be used.
Public propertyTestCaseTitleGets the title of the test case.
Public propertyTestConfigurationIdGets the ID of the configuration against which this test was executed.
Public propertyTestConfigurationNameGets the name of the configuration of the test that is currently being executed.
Public propertyTestPointIdGets the ID of the test point against which this test was executed.
Public propertyTestResultIdGets the ID of this test result, which is unique in the test run.
Public propertyTestRunIdGets the ID of the test run that contains this result.
Top
  NameDescription
Public methodAssociateWorkItemLinks the given work item to this test result.
Public methodCreateAttachment(String)Creates an attachment from a file. (Inherited from IAttachmentOwner.)
Public methodCreateAttachment(String, SourceFileAction)Creates an attachment from a file, optionally deleting the source file after uploading. (Inherited from IAttachmentOwner.)
Public methodCreateAttachment(Byte[], Int32, Int32)Creates an attachment to this test result by using the given byte array, location, and length.
Public methodCreateIterationCreates a new iteration result.
Public methodDisassociateWorkItemRemoves the link between the given work item and this test result.
Public methodGetTestCaseRetrieves the test case data from the server as of the time that the test case result was created.
Public methodGetTestRunRetrieves the test-run information from the server.
Public methodQueryAssociatedWorkItemArtifactsRetrieves an array of work item artifacts that is linked to this test case result.
Public methodQueryAssociatedWorkItemsRetrieves an array of IDs from the server for work items that are linked to this test case result.
Public methodRefreshRetrieves updated test result information from the server. Any local changes are discarded.
Public methodResetClears any test result information and causes the test to be run again.
Public methodSave()Uploads updated test result information to the server.
Public methodSave(Boolean)Uploads updated test result information to the server, optionally uploading the attachments in the background.
Top
  NameDescription
Public eventAttachmentUploadCompletedThis event is raised when the attachment upload is completed. (Inherited from IAttachmentOwner.)
Public eventPropertyChangedOccurs when a property value changes. (Inherited from INotifyPropertyChanged.)
Top
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.