Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Basic Selenium Testing

  • 15-12-2013 07:05PM
    #1
    Registered Users, Registered Users 2 Posts: 310 ✭✭


    Hi Guys im doing some selenium testing on a website for the first time heres probably a very stupid question but here goes. can anyone explain to me what asserts are actually for and verifies in reference to web testing ? thank you:rolleyes:


Comments

  • Registered Users, Registered Users 2 Posts: 7,208 ✭✭✭Talisman


    Assert and Verify fulfill the same role, the difference in their functionality is what happens when a check fails.

    If you use an assert command and the check fails then the test case terminates, so no subsequent checks are run. If you use a verify command and the check fails then the test case doesn't terminate and subsequent checks can be run.

    You can find further information in the Selenium documentation: Assertion or Verification?


Advertisement