For web test scenarios I am creating, is there a way to fail a test IF a specific pop up occurs?
to fail the test if a specific pop up occurs, you need do the following:
- Record a step that make the pop up disappear (click on Accept/Ok/Yes)
- Go to the steps advanced settings and select the INVERT STEP RESULT toggle
- save the step and run the test
if a specific pop up will occur and your step will be executed successfully your test will fail