To Assert or to Verify01 Jan 2017
So you’re needing to write some automated tests for your website or web app. You’ve decided to start out with Selenium. When you start writing test cases, you become confused about whether to use the assert command or the verify command. From a glance you may not understand the difference between assert and verify. So here is the difference..
If an Assert fails, it will stop the entire test case.
If a Verify fails, the test case will keep going.
There are some instances where you want an action to check something, but not stop the entire test case if it fails. For this, use the Verify action.