TestNG – Test Parameters through testng.xml and @Parameters Annotation

One of the important features of TestNG is parameterization. This feature allows user to pass parameter values to test methods as arguments. This is supported by using the @Parameters annotation. There are mainly two ways through which we can provide parameter values to test-methods: — Through testng.xml XML configuration file — Through DataProviders (We will […]

TestNG Annotations Tutorial

TestNG uses annotations to help developers to write the tests. The following is a table containing information about all the annotations provided by TestNG and a brief description of them. I will cover them in detail in separate tutorials specific to their usages. TestNG Test Configuration Annotations Annotation Description @BeforeSuite The annotated method will be […]

TestNG Tutorial (With Eclipse)

Testing as you may know is the process of validating and verifying that a piece of software or hardware is working according to the way it’s expected to work. Testing is a very important part of the software development life cycle (SDLC) as it helps in improving the quality of the product developed. There are […]

Java blog for smart concepts and coding practices