Jazz
9 years agoOccasional Contributor
How to set test case to OK by a script?
Hello
In my test case, i have test step, that may fall in failed (red) state. In that case, i use script to wait few minutes and re-run test step again. (Beacose web service needs a little time before he process infromation from previous web services)
Im doing this until test step switch to OK (green) state, in that case I normaly continue throught rest of test case.
But when my test step switch to OK, the test case still stay in failed (red) state.
So can i set test case to OK (green) state by a script? How?
- I was saying earlier that it needs to be in the test execution flow only based on some condition, can't explicitly do it which makes sensible as well. For eg: what any one gets by just change a failed to pass vice versa?