Assert command in selenium:
- Assert is best used when the check value has to pass for the test to be able to continue to run. Like a log in.
Verify command in selenium:
- When a "verify" command fails then test will continue executing and logging the failure.
- Verify is best used to check non critical things. Like hte presence of a headline element.
0 Comments
What would you like to add in my list? I look forward to reading your comments below.