SpiraPlan: SoapService SOAP Web Service

See all operations

TestRun_CreateForAutomationHost

Description

Creates a shell set of test runs for an external automated test runner based on the provided automation host token and the specified date range

Example(s)

            DateRange dateRange = new DateRange();
            dateRange.StartDate = DateTime.UtcNow.AddHours(-1);
            dateRange.EndDate = DateTime.UtcNow.AddHours(1);
            RemoteAutomatedTestRun[] remoteTestRuns = spiraImportExport.TestRun_CreateForAutomationHost(credentials, projectId, automationHostToken, dateRange);
            

Parameters

Type Name Required
RemoteCredentials? credentials - The API credentials
intprojectId - The ID of the project Yes
string? automationHostToken - The unique token that identifies this host
DateRange? dateRange - The range of planned dates that we want to include test sets for

Return Value

ArrayOfRemoteAutomatedTestRun - The list of test run objects