No framework is complete without reporting feature and we will use Extent report for this purpose. After this tutorial, you would be
So far we have been using a single test class (LoginPageTest.java) with main method to execute all the tests. Now, we will break that class into different classes containing separate tests
In the first tutorial of the Selenium Grid series, we learned the concept of the hub, node(s) and how to configure them. In this tutorial,…
It happens occasionally that a test which was working fine earlier gets failed during execution. If you execute it again, it would get pass. To overcome this issue TestNG provides a listener which would retry to execute failed test cases for a given number of times.
Screenshots play a vital role in testing. These can be used as evidence for functionality under test, raising a defect or for asking a query etc. During automation, regression suite is usually executed in a remote machine or during off-hours.
We have been using the hard assert in our previous tutorials. Assert.fail() is such an example of hard assert which we have used in THIS post. In this tutorial, we will learn what is a soft assert in selenium and how it is different than hard assert.