Edit

TestHttpClientBase.UpdateSuiteTestCasesAsync Method

Definition

Overloads

UpdateSuiteTestCasesAsync(SuiteTestCaseUpdateModel, Guid, Int32, Int32, String, Object, CancellationToken)

[Preview API] Updates the properties of the test case association in a suite.

UpdateSuiteTestCasesAsync(SuiteTestCaseUpdateModel, String, Int32, Int32, String, Object, CancellationToken)

[Preview API] Updates the properties of the test case association in a suite.

UpdateSuiteTestCasesAsync(SuiteTestCaseUpdateModel, Guid, Int32, Int32, String, Object, CancellationToken)

[Preview API] Updates the properties of the test case association in a suite.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCase>> UpdateSuiteTestCasesAsync(Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCaseUpdateModel suiteTestCaseUpdateModel, Guid project, int planId, int suiteId, string testCaseIds, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateSuiteTestCasesAsync : Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCaseUpdateModel * Guid * int * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCase>>
override this.UpdateSuiteTestCasesAsync : Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCaseUpdateModel * Guid * int * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCase>>

Parameters

suiteTestCaseUpdateModel
SuiteTestCaseUpdateModel

Model for updation of the properties of test case suite association.

project
Guid

Project ID

planId
Int32

ID of the test plan that contains the suite.

suiteId
Int32

ID of the test suite to which the test cases must be added.

testCaseIds
String

IDs of the test cases to add to the suite. Ids are specified in comma separated format.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

UpdateSuiteTestCasesAsync(SuiteTestCaseUpdateModel, String, Int32, Int32, String, Object, CancellationToken)

[Preview API] Updates the properties of the test case association in a suite.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCase>> UpdateSuiteTestCasesAsync(Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCaseUpdateModel suiteTestCaseUpdateModel, string project, int planId, int suiteId, string testCaseIds, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateSuiteTestCasesAsync : Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCaseUpdateModel * string * int * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCase>>
override this.UpdateSuiteTestCasesAsync : Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCaseUpdateModel * string * int * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCase>>

Parameters

suiteTestCaseUpdateModel
SuiteTestCaseUpdateModel

Model for updation of the properties of test case suite association.

project
String

Project ID or project name

planId
Int32

ID of the test plan that contains the suite.

suiteId
Int32

ID of the test suite to which the test cases must be added.

testCaseIds
String

IDs of the test cases to add to the suite. Ids are specified in comma separated format.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to