Selenium WebDriver Assertion assertNull Example With TestNG

Assertions are very useful to check your expected result and skip execution if assertion fails on run time. If you are selenium IDE user, you can read all these selenium IDE ASSERTION COMMANDS examples posts to use them in your test cases for your web application. Before describing about assertNull assertion of testng, I recommend you all to READ … Read more

Example Of Assert.assertFalse Assertion In Selenium WebDriver With TestNG

When you are working with selenium webdriver, you must be aware about different kind of assertions which are available. If you have a enough knowledge about testng assertions, You can create very effective test cases for your test scenarios. assertEquals, assertNotEquals and assertTrue assertions are already explained in my previous posts. Now let we try to understand usage of testng assertfalse … Read more

Selenium WebDriver assertTrue assertion example with TestNG

Previously we have learnt two assertions of selenium webdriver software testing tool. You can view practical example pages of selenium webdriver assertions – assertEquals and assertNotEquals before learning asserttrue in selenium. There is also one another related assertion is assertFalse(condition) assertion but we will look about it in my next post. assertTrue(condition) Assertion asserttrue in selenium assertion is generally used for Boolean … Read more

Example Of assertNotEquals In Selenium WebDriver With TestNG

As described in my previous post, assertEquals assertion is useful to compare two string, boolean, byte[], char, double, float, int, etc.. and based on assertion result,  Your test method will pass or fail. This pass or fail indication will helps you in your testing process. So this is the very good function in selenium WebDriver which helps … Read more