TestNG Tutorials 18: Default Priority Of @Test Methods In TestNG Hello Folks, Let’s run below TestNG class and observe output: Output: Can you see different order of execution of test… Continue reading “TestNG Tutorials 18: Default Priority Of @Test Methods In TestNG”…
TestNG Tutorials 17: Can @Test Annotation Be Used For A Class In TestNG? Hello Folks, Let’s learn something new today. We have used @Test annotation on methods. Can we use @Test annotation on a… Continue reading “TestNG Tutorials 17: Can @Test Annotation Be Used For A Class In TestNG?”…
TestNG Tutorials 15: Inheritance In TestNG Classes Hello Folks, In this post, we will learn Inheritance in TestNG classes. In very basic words, Inheritance is an OOPS… Continue reading “TestNG Tutorials 15: Inheritance In TestNG Classes”…
TestNG Tutorials 14: Can We Overload Methods In TestNG Class? Hello Folks, Method overloading is an important concept in Java. Can we create overloaded method in TestNG class. Let’s give… Continue reading “TestNG Tutorials 14: Can We Overload Methods In TestNG Class?”…
TestNG Tutorials 13: Can An Interface have TestNG Methods? If Yes, How To Execute Them? Hello Folks, We talked about TestNG class in previous post. Can we declare and define TestNG annotated methods in an… Continue reading “TestNG Tutorials 13: Can An Interface have TestNG Methods? If Yes, How To Execute Them?”…
TestNG Tutorials 12: How To Run Inner TestNG Class From TestNG.xml ? Hello Folks, We will see an interesting topic in this post. We can create an inner TestNG class as well… Continue reading “TestNG Tutorials 12: How To Run Inner TestNG Class From TestNG.xml ?”…
TestNG Tutorials 11: How To Run TestNG class From Sub-package Using TestNG.xml? Hello Folks, Java allows you to group similar types of classes, interfaces and sub packages. You can create nested packages… Continue reading “TestNG Tutorials 11: How To Run TestNG class From Sub-package Using TestNG.xml?”…
TestNG Tutorials 10: What Is Package Tag And How To Use In TestNG.XML? Hello Folks, When we generate a testng.xml for TestNG classes of a package, we see all class names (with at least… Continue reading “TestNG Tutorials 10: What Is Package Tag And How To Use In TestNG.XML?”…
TestNG Tutorials 9: Internal Logic Of Generation Of TestNG.xml Hello Folks, In this post, we will learn logic behind generation of testng.xml. When we select a class or package… Continue reading “TestNG Tutorials 9: Internal Logic Of Generation Of TestNG.xml”…
TestNG Tutorials 8: Understanding Testng.xml : Understanding Hierarchy Of Testng.xml Hello Folks, In this post, we will see a very important and basic concept of TestNG : Understanding of TestNG.xml… Continue reading “TestNG Tutorials 8: Understanding Testng.xml : Understanding Hierarchy Of Testng.xml”…