TestNG – 7 || Use of BeforeClass and AfterClass.

BeforeClass and AfterClass annotations are like defining pre-condition and post-conditions in a Program. As in the last chapter, we have…

Continue Reading →

TestNG – 6 || Use of BeforeMethod and AfterMethod.

As per the names, BeforeMethod and AfterMethod annotations get executed for each test method/case in a class file. Please note,…

Continue Reading →

TestNG – 5 || Understand Assertion in TestNG.

The Assertion in TestNG decides the Pass/Fail status of individual Test Methods. Java Assertion is mainly used to take decisions…

Continue Reading →

TestNG – 4 || Let’s understand @Test Annotation and attributes.

Using Annotation is the way to implement additional properties in normal methods. These annotations are pre-defined and entry-point of the…

Continue Reading →

Selenium-8 || Implementing Wait(s) in Selenium.

Wait(s) plays an important role in the Selenium while test execution. Implementing Wait(s) in Selenium is a very interesting and…

Continue Reading →

Selenium-7 || Let’s learn to create complex XPath.

There are few scenarios where we get stuck and unable to locate web element on the page. In this blog…

Continue Reading →

Selenium-6 || XPath is the best way to locate web elements.

XPath stands for XML Path, which helps us to locate any web element using its XML Path or XPath. In…

Continue Reading →

Selenium-5 || Locating web elements using various type of Locators.

Locators are the unique identity of the web elements, using which Selenium can identify and search the element on a…

Continue Reading →

Selenium-4 || Handling multiple web browsers.

     As we all know, that using the Selenium web drivers user can handle multiple web browsers to execute…

Continue Reading →