Edit

TestHttpClientBase.GetPointsAsync Method

Definition

Overloads

GetPointsAsync(String, Int32, Int32, String, String, String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Get a list of test points.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestPoint>> GetPointsAsync(string project, int planId, int suiteId, string witFields = null, string configurationId = null, string testCaseId = null, string testPointIds = null, Nullable<bool> includePointDetails = null, Nullable<int> skip = null, Nullable<int> top = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPointsAsync : string * int * int * string * string * string * string * Nullable<bool> * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestPoint>>
override this.GetPointsAsync : string * int * int * string * string * string * string * Nullable<bool> * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestPoint>>

Parameters

project
String

Project ID or project name

planId
Int32

ID of the test plan.

suiteId
Int32

ID of the suite that contains the points.

witFields
String

Comma-separated list of work item field names.

configurationId
String

Get test points for specific configuration.

testCaseId
String

Get test points for a specific test case, valid when configurationId is not set.

testPointIds
String

Get test points for comma-separated list of test point IDs, valid only when configurationId and testCaseId are not set.

includePointDetails
Nullable<Boolean>

Include all properties for the test point.

skip
Nullable<Int32>

Number of test points to skip..

top
Nullable<Int32>

Number of test points to return.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPointsAsync(Guid, Int32, Int32, String, String, String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Get a list of test points.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestPoint>> GetPointsAsync(Guid project, int planId, int suiteId, string witFields = null, string configurationId = null, string testCaseId = null, string testPointIds = null, Nullable<bool> includePointDetails = null, Nullable<int> skip = null, Nullable<int> top = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPointsAsync : Guid * int * int * string * string * string * string * Nullable<bool> * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestPoint>>
override this.GetPointsAsync : Guid * int * int * string * string * string * string * Nullable<bool> * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestPoint>>

Parameters

project
Guid

Project ID

planId
Int32

ID of the test plan.

suiteId
Int32

ID of the suite that contains the points.

witFields
String

Comma-separated list of work item field names.

configurationId
String

Get test points for specific configuration.

testCaseId
String

Get test points for a specific test case, valid when configurationId is not set.

testPointIds
String

Get test points for comma-separated list of test point IDs, valid only when configurationId and testCaseId are not set.

includePointDetails
Nullable<Boolean>

Include all properties for the test point.

skip
Nullable<Int32>

Number of test points to skip..

top
Nullable<Int32>

Number of test points to return.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to