0 votes
in Selenium by
State the major difference between “assert” and “verify” commands in Selenium.

1 Answer

0 votes
by

Both “assert” and “verify” commands check whether the given condition is true or false and the only difference between them is that:

  1. Assert: Assert condition stops the execution of the testing if the given condition is false else would continue with the further tests.
  2. Verify: Verify the condition doesn’t stop the flow of execution irrespective of the condition being true or false.
...