WebDriver Hamcrest Tutorial

WebDriver Hamcrest is an excellent alternative to use instead of the assertions which JUnit provides. In this video tutorial I will demonstrate the advantages which you can leverage when using Hamcrest assertions as opposed to JUnit assertions.

WebDriver Hamcrest Video Tutorial

webdriver hamcrest

Direct Video Link

Combing WebDriver with Hamcrest is an excellent way of helping debug when your tests fail. Assuming you had written a test using JUnit assertion methods then more likely then not your failures will simply be an assertion failure. However if you use Hamcrest then you will be able to get the actual results vs the expect results. This level of information can greatly help discover the reason behind the test failure.

Mo

I am a passionate tester, father, husband and gamer. I love to upload videos on my YouTube channel, write blogs about Software Testing and generally contribute back to the Software Testing world.

More Posts - Twitter - Facebook - Google Plus

Published by

Mo

I am a passionate tester, father, husband and gamer. I love to upload videos on my YouTube channel, write blogs about Software Testing and generally contribute back to the Software Testing world.

Leave a Reply