Test run create details.

interface RunCreateModel {
    automated?: boolean;
    build?: ShallowReference;
    buildDropLocation?: string;
    buildFlavor?: string;
    buildPlatform?: string;
    buildReference?: BuildConfiguration;
    comment?: string;
    completeDate?: string;
    configurationIds: number[];
    controller?: string;
    customTestFields?: CustomTestField[];
    dtlAutEnvironment?: ShallowReference;
    dtlTestEnvironment?: ShallowReference;
    dueDate?: string;
    environmentDetails?: DtlEnvironmentDetails;
    errorMessage?: string;
    filter?: RunFilter;
    iteration?: string;
    name: string;
    owner?: IdentityRef;
    pipelineReference?: PipelineReference;
    plan: ShallowReference;
    pointIds?: number[];
    releaseEnvironmentUri?: string;
    releaseReference?: ReleaseReference;
    releaseUri?: string;
    runSummary?: RunSummaryModel[];
    runTimeout?: any;
    sourceWorkflow?: string;
    startDate?: string;
    state?: string;
    tags?: TestTag[];
    testConfigurationsMapping?: string;
    testEnvironmentId?: string;
    testSettings?: ShallowReference;
    type?: string;
}

Properties

automated?: boolean

true if test run is automated, false otherwise. By default it will be false.

An abstracted reference to the build that it belongs.

buildDropLocation?: string

Drop location of the build used for test run.

buildFlavor?: string

Flavor of the build used for test run. (E.g: Release, Debug)

buildPlatform?: string

Platform of the build used for test run. (E.g.: x86, amd64)

buildReference?: BuildConfiguration

BuildReference of the test run.

comment?: string

Comments entered by those analyzing the run.

completeDate?: string

Completed date time of the run.

configurationIds: number[]

IDs of the test configurations associated with the run.

controller?: string

Name of the test controller used for automated run.

customTestFields?: CustomTestField[]

Additional properties of test Run. Value of the CustomField cannot be more than 1KB.

dtlAutEnvironment?: ShallowReference

An abstracted reference to DtlAutEnvironment.

dtlTestEnvironment?: ShallowReference

An abstracted reference to DtlTestEnvironment.

dueDate?: string

Due date and time for test run.

environmentDetails?: DtlEnvironmentDetails
errorMessage?: string

Error message associated with the run.

filter?: RunFilter

Filter used for discovering the Run.

iteration?: string

The iteration in which to create the run. Root iteration of the team project will be default

name: string

Name of the test run.

owner?: IdentityRef

Display name of the owner of the run.

pipelineReference?: PipelineReference

Reference of the pipeline to which this test run belongs. PipelineReference.PipelineId should be equal to RunCreateModel.Build.Id

An abstracted reference to the plan that it belongs.

pointIds?: number[]

IDs of the test points to use in the run.

releaseEnvironmentUri?: string

URI of release environment associated with the run.

releaseReference?: ReleaseReference

Reference to release associated with test run.

releaseUri?: string

URI of release associated with the run.

runSummary?: RunSummaryModel[]

Run summary for run Type = NoConfigRun.

runTimeout?: any

Timespan till the run times out.

sourceWorkflow?: string

SourceWorkFlow(CI/CD) of the test run.

startDate?: string

Start date time of the run.

state?: string

The state of the run. Type TestRunState Valid states - NotStarted, InProgress, Waiting

tags?: TestTag[]

Tags to attach with the test run, maximum of 5 tags can be added to run.

testConfigurationsMapping?: string

TestConfigurationMapping of the test run.

testEnvironmentId?: string

ID of the test environment associated with the run.

testSettings?: ShallowReference

An abstracted reference to the test settings resource.

type?: string

Type of the run(RunType) Valid Values : (Unspecified, Normal, Blocking, Web, MtrRunInitiatedFromWeb, RunWithDtlEnv, NoConfigRun)