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.
Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Public Interface ITestRunBase _
    Inherits IIdentifiable(Of Integer), IAttachmentOwner, INotifyPropertyChanged
public interface ITestRunBase : IIdentifiable<int>, 
    IAttachmentOwner, INotifyPropertyChanged
public interface class ITestRunBase : IIdentifiable<int>, 
    IAttachmentOwner, INotifyPropertyChanged
type ITestRunBase =  
    interface 
        interface IIdentifiable<int>
        interface IAttachmentOwner 
        interface INotifyPropertyChanged 
    end
public interface ITestRunBase extends IIdentifiable<int>, IAttachmentOwner, INotifyPropertyChanged
The ITestRunBase type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Attachments | Gets the collection of attachments. (Inherited from IAttachmentOwner.) | 
| .gif) | BuildConfigurationId | |
| .gif) | BuildFlavor | |
| .gif) | BuildNumber | Name of the build. | 
| .gif) | BuildPlatform | |
| .gif) | BuildUri | Name (as a URI) of the build the run was executed against. As an example: new Uri("vstfs:///Build/Build/1") | 
| .gif) | Comment | Comments entered by those analyzing the run. | 
| .gif) | Controller | The name of the controller of this run | 
| .gif) | DateCompleted | Date the last test completed. | 
| .gif) | DateCreated | Date the run was created. | 
| .gif) | DateStarted | Date the run was started. | 
| .gif) | Id | Gets the identifier. (Inherited from IIdentifiable<TKey>.) | 
| .gif) | IsDirty | Returns true if the test run has been changed since the last Save(). | 
| .gif) | LastUpdated | Date the run was last modified (title or owner set). | 
| .gif) | LastUpdatedBy | Last person to update run | 
| .gif) | LastUpdatedByName | Last person to update run | 
| .gif) | LinkedWorkItemCount | The total number of bugs associated with the test results. | 
| .gif) | Owner | User who started the run. | 
| .gif) | OwnerName | User who started the run. | 
| .gif) | OwnerTeamFoundationId | User who started the run. | 
| .gif) | Revision | Revision number of TestRun for concurrency control | 
| .gif) | TestEnvironmentId | The test environment for this run | 
| .gif) | TestPlanId | Returns the ID of the test plan that contains this run or 0 if this is an ad-hoc run. | 
| .gif) | TestSettings | The test settings being used for this test run execution. Null if the run has no test settings. | 
| .gif) | TestSettingsId | ID of the public test settings being used for this test run. | 
| .gif) | Title | Title of the associated run template. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | CopyTestSettings | Copy the test settings and associate it to the test run. | 
| .gif) | CreateAttachment(String) | Creates an attachment from a file. (Inherited from IAttachmentOwner.) | 
| .gif) | CreateAttachment(String, SourceFileAction) | Creates an attachment from a file, optionally deleting the source file after uploading. (Inherited from IAttachmentOwner.) | 
| .gif) | CreateAttachment(array<Byte[], Int32, Int32) | Creates an attachment for a Test Result from a byte array. | 
| .gif) | Delete | Removes the given test run and its results from the server. | 
| .gif) | Refresh | Updates the run with new data from the server. | 
| .gif) | Save | Writes the new or updated test run to the server. | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | AttachmentUploadCompleted | This event is raised when the attachment upload is completed. (Inherited from IAttachmentOwner.) | 
| .gif) | PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) | 
Top