Top 50+ TestNG Interview Questions and Answers for 2020

TestNG Interview Questions | TestNG, where NG stands for “next generation” is the next step towards writing test cases. It was developed by Cedric Beust to overcome the deficiency in JUnit by introducing some more functionalities and features. Here, we have listed topic wise the best collection of frequently asked … Read more

Parallel Test Execution in Selenium using TestNG

What is Parallel Testing in TestNG? Parallel Testing is a testing technique in which multiple tests are executed simultaneously in different threads to reduce execution time. It allows us to execute multiple tests at the same time across different environments instead of running tests one by one or sequentially. Hence, … Read more

How to Create & Run TestNG XML File in Eclipse

What is Testng.xml file? Testng.xml file is a configuration file (XML file) for TestNG in which we can create test suits, test groups, mark tests for parallel execution, add listeners, and pass parameters to test script. It defines the runtime definition of a test suit. The testng.xml file provides us … Read more

TestNG Groups | MetaGroups with Example

TestNG Groups with Example TestNG Groups is one of the more popular features supported by TestNG which is not available in the JUnit framework. TestNG framework allows us to perform groupings of test methods. Using TestNG, we can declare a set of test methods in a particular named group or multiple … Read more

TestNG Annotations with Example

Annotation is a feature in Java that is used to add metadata to Java source. It was introduced in Java 1.5 version. It can be applied to classes, methods, variables, and parameters. The example of certain predefined annotations in Java are @Override, @Deprecated, @SupressWranings, and so on. But Java also allows … Read more