Listener, Screen shot & Extent Report
Posted in Selenium

Take Screenshot & Generate Extent Report | POM tutorial – Part 9

No framework is complete without reporting feature and we will use Extent report for this purpose.  After this tutorial, you would be

Continue Reading Take Screenshot & Generate Extent Report | POM tutorial – Part 9
Posted in Selenium TestNG

Creating Test Classes Using TestNG | Part 8

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

Continue Reading Creating Test Classes Using TestNG | Part 8
Selenium Grid Tutorial
Posted in Selenium

Selenium Grid Tutorial With Examples

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,…

Continue Reading Selenium Grid Tutorial With Examples
Re-execute Failed Test Cases
Posted in Selenium TestNG

Execute Failed Test Cases In Selenium Using TestNG

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.

Continue Reading Execute Failed Test Cases In Selenium Using TestNG
Screenshot Failed Test Case
Posted in Selenium TestNG

Take Screenshot Of Failed Test Cases Using Selenium

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.

Continue Reading Take Screenshot Of Failed Test Cases Using Selenium
Soft Assert in Selenium
Posted in TestNG

Soft Assert in Selenium | Difference between Hard and Soft Assert

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.

Continue Reading Soft Assert in Selenium | Difference between Hard and Soft Assert