1.

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

Answer»

Both “ASSERT” and “VERIFY” commands check whether the given CONDITION is true or false and the only difference between them is that:

  • Assert: Assert condition stops the execution of the testing if the given condition is false else would CONTINUE with the further tests.
  • Verify: Verify the condition doesn’t STOP the flow of execution irrespective of the condition being true or false.


Discussion

No Comment Found