TestNG Tutorials 48: How to Pass Parameters of Different Datatypes in TestNG Hello Folks, Most of us know that, we can pass parameter as a String to methods in TestNG class. Is… Continue reading “TestNG Tutorials 48: How to Pass Parameters of Different Datatypes in TestNG”…
TestNG Tutorials 47: Marking a Parameter as Optional in TestNG Hello folks, When we parametrize methods in a TestNG class, we must need to pass parameter values from testng xml.… Continue reading “TestNG Tutorials 47: Marking a Parameter as Optional in TestNG”…
TestNG Tutorials 46: Overriding Parameters in TestNG Hello Folks, In this post we will learn an important concept of parameters in TestNG. We know that we can… Continue reading “TestNG Tutorials 46: Overriding Parameters in TestNG”…
TestNG Tutorials 45: Passing Parameters at Test Method Level in TestNG Hello folks, TestNG allows us to create parameterized methods in a TestNG class. A TestNG class may contain more than… Continue reading “TestNG Tutorials 45: Passing Parameters at Test Method Level in TestNG”…
TestNG Tutorials 44: Constructor with @Parameter Annotation Hello Folks, We have seen previously that how can we parameterize methods in a TestNG class. The approach of using… Continue reading “TestNG Tutorials 44: Constructor with @Parameter Annotation”…
TestNG Tutorials 43: Difference Between “Parameters” and “parameter” in TestNG Hello Folks, I was asked this question in an interview and I was like “Are there two terms “Parameters” and… Continue reading “TestNG Tutorials 43: Difference Between “Parameters” and “parameter” in TestNG”…
TestNG Tutorials 42: Parameters In TestNG or Parameterization of Methods in a TestNG Class Hello Folks, Arguments or ParametersĀ help us to achieve reusability of codes and cleanliness of codes. We can do overloading of… Continue reading “TestNG Tutorials 42: Parameters In TestNG or Parameterization of Methods in a TestNG Class”…
TestNG Tutorials 41: Skipping a Test Conditionally in TestNG Hello Folks, In this post we will learn below topics: 1. How to skip a test conditionally? 2. How conditionally… Continue reading “TestNG Tutorials 41: Skipping a Test Conditionally in TestNG”…
TestNG Tutorials 40: Groups of Groups or MetaGroups in TestNG Hello Folks, Grouping is a best feature provided by TestNG. We group test scripts based on suite name or functionality… Continue reading “TestNG Tutorials 40: Groups of Groups or MetaGroups in TestNG”…
TestNG Tutorials 39: Run Only Test From a TestNG Class Without Using TestNG XML? Hello Folks, Suppose you have created a testng class which has many @Test annotated methods say 10 test methods. You… Continue reading “TestNG Tutorials 39: Run Only Test From a TestNG Class Without Using TestNG XML?”…