Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
257 views
by Master (1.2k points)

2 Answers

0 like 0 dislike
by
Assert function will verify the condition and if fails it will terminate the program where in verify will check condition and if it fails, it will still continue the execution without terminating it.

Its very useful when we are doing some exception message checks in application
0 like 0 dislike
by

Assert :  Assert is a validation which verify the condition and if the condition get failed, it will break the program and do not proceed further.

Verify : Verify is a validation which verify the condition and if the condition get failed, it will not break the program and proceed further.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...