TestNG Tutorials Archives – Page 3 of 7 – Make Selenium Easy

Hello Folks, Most of us know that, we can pass parameter as a String to methods in TestNG class. Is… Hello folks, When we parametrize methods in a TestNG class, we must need to pass parameter values from testng xml.… Hello Folks, In this post we will learn an important concept of parameters in TestNG. We know that we can… Hello folks, TestNG allows us to create parameterized methods in a TestNG class. A TestNG class may contain more than… Hello Folks, We have seen previously that how can we parameterize methods in a TestNG class. The approach of using… Hello Folks, I was asked this question in an interview and I was like “Are there two terms “Parameters” and… Hello Folks, Arguments or Parameters help us to achieve reusability of codes and cleanliness of codes. We can do overloading of… Hello Folks, In this post we will learn below topics: 1. How to skip a test conditionally? 2. How conditionally… Hello Folks, Grouping is a best feature provided by TestNG. We group test scripts based on suite name or functionality… Hello Folks, Suppose you have created a testng class which has many @Test annotated methods say 10 test methods. You…