Inside the sequence you are calling in the loop, you must add a pre expression on the test you are repeating that sets RunState.SequenceFailed=False. This variable gets set true if the test fails. By setting it to false before you repeat the test, if the test passes the second time (or 3rd or 4th...), the variable will remain false and the calling sequence results in "PASSED". If you have more than one test in the sequence, you must create a boolean variable that holds true/false value depending on if any repeated tests failed every time, then set RunState.SequenceFailed accordingly before returning to the calling sequence. This is the variable that the calling sequence uses to determine pass/fail status.