TestHistoryQuery interface

Filter to get TestCase result history.

Properties

automatedTestName

Automated test name of the TestCase.

branch

Results to be get for a particular branches.

buildDefinitionId

Get the results history only for this BuildDefinitionId. This to get used in query GroupBy should be Branch. If this is provided, Branch will have no use.

continuationToken

It will be filled by server. If not null means there are some results still to be get, and we need to call this REST API with this ContinuousToken. It is not supposed to be created (or altered, if received from server in last batch) by user.

groupBy

Group the result on the basis of TestResultGroupBy. This can be Branch, Environment or null(if results are fetched by BuildDefinitionId)

maxCompleteDate

History to get between time interval MaxCompleteDate and (MaxCompleteDate - TrendDays). Default is current date time.

releaseEnvDefinitionId

Get the results history only for this ReleaseEnvDefinitionId. This to get used in query GroupBy should be Environment.

resultsForGroup

List of TestResultHistoryForGroup which are grouped by GroupBy

testCaseId

Get the results history only for this testCaseId. This to get used in query to filter the result along with automatedtestname

trendDays

Number of days for which history to collect. Maximum supported value is 7 days. Default is 7 days.

Property Details

automatedTestName

Automated test name of the TestCase.

automatedTestName: string

Property Value

string

branch

Results to be get for a particular branches.

branch: string

Property Value

string

buildDefinitionId

Get the results history only for this BuildDefinitionId. This to get used in query GroupBy should be Branch. If this is provided, Branch will have no use.

buildDefinitionId: number

Property Value

number

continuationToken

It will be filled by server. If not null means there are some results still to be get, and we need to call this REST API with this ContinuousToken. It is not supposed to be created (or altered, if received from server in last batch) by user.

continuationToken: string

Property Value

string

groupBy

Group the result on the basis of TestResultGroupBy. This can be Branch, Environment or null(if results are fetched by BuildDefinitionId)

groupBy: TestResultGroupBy

Property Value

maxCompleteDate

History to get between time interval MaxCompleteDate and (MaxCompleteDate - TrendDays). Default is current date time.

maxCompleteDate: Date

Property Value

Date

releaseEnvDefinitionId

Get the results history only for this ReleaseEnvDefinitionId. This to get used in query GroupBy should be Environment.

releaseEnvDefinitionId: number

Property Value

number

resultsForGroup

List of TestResultHistoryForGroup which are grouped by GroupBy

resultsForGroup: TestResultHistoryForGroup[]

Property Value

testCaseId

Get the results history only for this testCaseId. This to get used in query to filter the result along with automatedtestname

testCaseId: number

Property Value

number

trendDays

Number of days for which history to collect. Maximum supported value is 7 days. Default is 7 days.

trendDays: number

Property Value

number