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”…
Best Practises in Page Object Model : Naming Conventions of Web Elements & Actions on it Hello Folks, Recently I have started learning or exploring more on best practises in Selenium Framework and same I want… Continue reading “Best Practises in Page Object Model : Naming Conventions of Web Elements & Actions on it”…
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?”…
TestNG Tutorials 37: Usage of Regular Expression With Group Names in TestNG Hello Folks, Proper categorisation/grouping of test scripts is very important as it gives us flexibility in running specific or group… Continue reading “TestNG Tutorials 37: Usage of Regular Expression With Group Names in TestNG”…
Advanced TestNG Tutorials 35: How To Pass Multiple Group Names to be Run at Runtime in TestNG XML Using Beanshell Hello Folks, Before continuing this post, you must go through below posts: Integration of TestNG and Beanshell How To Pass… Continue reading “Advanced TestNG Tutorials 35: How To Pass Multiple Group Names to be Run at Runtime in TestNG XML Using Beanshell”…