Forum Discussion
Lucian
7 years agoCommunity Hero
Hey,
You can do it with groovy as you said but the question is why would you want some assertions not to be checked?
- kgbheem7 years agoOccasional Contributor
well..
if you are not able to login then what would be the point of verifying other assertions and mark it as failed?
if i get 200 status then only i want to verify other things otherwise it should stop right there
- Lucian7 years agoCommunity HeroThis is not how this is supposed to be used. Normally you would have a couple of assertions based on which you would decide if a test step is passed or failed.
What you are looking for are conditional assertions which I didn't see before and for which I don't really see a good use.
Indeed you can be sure that a test fails just after checking one assertion but how does it hurt if all are checked especially when they are all evaluated in a blink of an eye?- kgbheem7 years agoOccasional Contributor
right.. i got your point but my client do not want to see more failure when the first assertion failed. so she is asking is there a method to stop it right after first assertion.
Related Content
- 2 years ago
- 11 months ago
- 8 years ago
- 4 years ago
- 6 years ago
Recent Discussions
- 5 days ago