Forum Discussion
sanj
8 years agoSuper Contributor
This still does not solve the problem for the last test run.
test will still be flagged as a failure.
Thats what Lucian had mentioned and I tend to agree.
srikanth92
8 years agoNew Contributor
Is there any other way to achieve??
- Lucian8 years agoCommunity HeroI will look into it tonight and come with a response.
- Lucian8 years agoCommunity Hero
I've looked into the issue and didn't find any solutions.
One of the problems in your script is that the API changed. Now the status is "FAIL" and "PASS" (and not "FAILED" and "PASSED" anymore).
On the other hand I tried to somehow discard the previous run results like:
def testStepResults = testCaseResult.getResults() for (def result : testStepResults) result.discard()
But this didn't worked out. So I am not sure if this is possible. :smileysad:
- TanyaYatskovska8 years ago
Alumni
Hi,
srikanth92, have the latest replies from Lucian helped you?
Could you please mark them as a solution if the question was resolved? This will help community members easier navigate to the solution.
Thanks!