Hi!
I'm in the process of composing a test module and would like to test it out. Yes, I want to test my test. To do so I want to make sure that I'm failing when I'm supposed to. Is there a way to expect failures without actually failing the test (of the test)?
Best,
t
Expected Failures
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Expected Failures
Hello tchasid,
If you expect your test to fail, one way would be to change the 'Report Level On Failure' for the validation action.
First, please open the properties-grid of the corresponding action.
Please change the 'Report Level On Failure' to 'Success' and 'Report Level On Success' to 'Failure'.
Additionally, please set the option 'Continue On Fail' to 'True'.
If the validation-step fails, it will be logged to the report as a successful step and the test will continue.
Please let me know if you need more information.
Regards,
Johannes
If you expect your test to fail, one way would be to change the 'Report Level On Failure' for the validation action.
First, please open the properties-grid of the corresponding action.
Please change the 'Report Level On Failure' to 'Success' and 'Report Level On Success' to 'Failure'.
Additionally, please set the option 'Continue On Fail' to 'True'.
If the validation-step fails, it will be logged to the report as a successful step and the test will continue.
Please let me know if you need more information.
Regards,
Johannes
You do not have the required permissions to view the files attached to this post.