VAPI-XP : Set Result Status in Test Step Level ?
Is there anybody here can tell me how to set the result
status in the test step level from VAPI-XP script in
Test Director ?
So far, I'm only able to set the result status in the
test case level :
CurrentRun.Status = "Failed"
CurrentTest.Status = "Failed"
But supposed that a test case contains 4 steps inside,
how to set the result status for each step also ?
Re: VAPI-XP : Set Result Status in Test Step Level
<font class="small">Code:</font><hr /><pre>
Steps = CurrentRun.StepFactory.NewList("");
Steps.Item(i).Field("ST_ACTUAL") = "Actual status Field";
Steps.Item(i).Status = "PASSED";
// update steps
}// end if