Forum Discussion
nmrao
Champion Level 1
3 years agoHave a script assertion to achieve what you are looking for.
Have a condition. If that condition is met then have the assertion.
Have a condition. If that condition is met then have the assertion.
LennSar
3 years agoContributor
Thanks for the suggestion. I don't quite understand how that would solve the issue. The script assertion as the smart assertion would fail the first couple of attempts and than would succeed. In a bad case both approaches would fail identically and without the enabled "Fail Test Case if it has failed Test Steps" option the test case would end up as a 'pass'.
Am I missing something?
- nmrao3 years ago
Champion Level 1
It is required to enable "Fail Test Case if it has failed Test Steps" in my suggestion.
Sorry for not being clear earlier.