TestNG – 9 || Let’s move deep into the Test Suites.

Test Suites widely used to organize and execute test cases from multiple class files. It also helps to create various…

Continue Reading →

TestNG – 8 || Creation and execution of Test Suites.

Test Suites are a combination of one or more classes (class files) and programs. Test Suite is basically an XML…

Continue Reading →

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 →

TestNG – 2 || Installation process and a sample program of TestNG.

The installation process is very simple and it’s like installing an extension in a chrome browser. Installation Process Installation Process…

Continue Reading →

TestNG – 1 || Introduction and benefits of TestNG Framework.

TestNG framework (where NG stands for Next Generation) is a testing framework which supports JAVA language. Mainly it is used…

Continue Reading →