Field: RunNumber
Description
The Run Number is an automatically assigned number that starts from 1 and increments for each run of a script assignment or automated test assignment.
Note: When using the global search you will need to select the Run Index in order to use this field in a query. When filtering from the Run History screen of either the execution set package or the script assignment in the execution set, the index will default to the Run Index.
Examples
Retrieve a list of runs where the run number is equal to 1 (first run for each assignment):
Code Block | ||
---|---|---|
| ||
RunNumber = 1 |
Retrieve the count of passed and failed results and group by the run number:
Code Block | ||
---|---|---|
| ||
GROUP BY RunNumber { SUM(Passed), SUM(Failed) } |
Supported Operators
=, <, >, <=, >=, ~, IN, !=, NOT IN, IS, IS NOT
Supported Indexes
Supported Types
- AgileRun
- AutomatedTestRun
- ScriptRun
Supported Features
Feature | Supported? |
---|---|
Aggregation | Yes (Int32) |
Sortable | Yes |
Sub-selects | No |