TestHistoryQuery Class
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.
Filter to get TestCase result history.
[System.Runtime.Serialization.DataContract]
public class TestHistoryQuery : Microsoft.TeamFoundation.TestManagement.WebApi.TestManagementBaseSecuredObject
type TestHistoryQuery = class
inherit TestManagementBaseSecuredObject
Public Class TestHistoryQuery
Inherits TestManagementBaseSecuredObject
- Inheritance
- Attributes
Constructors
| TestHistoryQuery() |
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 BuildDefinationId. 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 |
| TrendDays |
Number of days for which history to collect. Maximum supported value is 7 days. Default is 7 days. |
Methods
| SecureIdentityRef(IdentityRef) | (Inherited from TestManagementBaseSecuredObject) |
Explicit Interface Implementations
| ISecuredObject.GetToken() | (Inherited from TestManagementBaseSecuredObject) |
| ISecuredObject.NamespaceId | (Inherited from TestManagementBaseSecuredObject) |
| ISecuredObject.RequiredPermissions | (Inherited from TestManagementBaseSecuredObject) |