SpiraPlan: ImportExport SOAP Web Service
See all operations
TestRun_RecordAutomated1
Description
Records the results of executing an automated test
You need to use this overload when you want to be able to set Test Run custom properties
Example(s)
remoteTestRun = new RemoteAutomatedTestRun();
remoteTestRun.TestCaseId = testCaseId1;
remoteTestRun.ReleaseId = iterationId2;
remoteTestRun.StartDate = DateTime.Now;
remoteTestRun.EndDate = DateTime.Now.AddMinutes(2);
remoteTestRun.ExecutionStatusId = Business.TestCase.ExecutionStatusPassed;
remoteTestRun.RunnerName = "TestSuite";
remoteTestRun.RunnerTestName = "02_Test_Method";
testRunId3 = spiraImportExport.TestRun_RecordAutomated1(remoteTestRun).TestRunId.Value;
Parameters
| Type | Name | Required |
|---|---|---|
| RemoteAutomatedTestRun? | remoteTestRun - The automated test run information |
Return Value
RemoteAutomatedTestRun - the test run data object with its primary key populated