TestHttpClientBase.AddTestCasesToSuiteAsync Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Overloads

AddTestCasesToSuiteAsync(Guid, Int32, Int32, String, Object, CancellationToken)

[Preview API] Add test cases to suite.

C#
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCase>> AddTestCasesToSuiteAsync (Guid project, int planId, int suiteId, string testCaseIds, object userState = null, System.Threading.CancellationToken cancellationToken = null);

Parameters

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

Azure DevOps Services .NET SDK latest ve Azure DevOps Services .NET SDK preview
Ürün Sürümler
Azure DevOps Services .NET SDK preview, latest

AddTestCasesToSuiteAsync(String, Int32, Int32, String, Object, CancellationToken)

[Preview API] Add test cases to suite.

C#
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCase>> AddTestCasesToSuiteAsync (string project, int planId, int suiteId, string testCaseIds, object userState = null, System.Threading.CancellationToken cancellationToken = null);

Parameters

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

Azure DevOps Services .NET SDK latest ve Azure DevOps Services .NET SDK preview
Ürün Sürümler
Azure DevOps Services .NET SDK preview, latest