Skip Navigation LinksHome Page > Forums > SpiraTest Forums > SpiraTest Issues & Questi... > How to update the Test St...
Hi Satyabrata
The issue is that ExecutionStatusId is read-only for test steps since it's actually generated by recording a test run against the test case in question. To update the status you'd need to use the TestRun_Save(...) command instead. Typically you use the TestRun_CreateFromXXX functions to generate the list of test runs for a specific test case or test set. Then you iterate through the test runs, provide the ActualResult and ExecutionStatusId on all the test steps and then save the results back.
Regards
Adam
And if you have any questions, please email or call us at +1 (202) 558-6885