Day: May 5, 2018

TestNG Tutorials 7: How To Create Customized TestNG XML?

Hello Folks, In this post, we are going to learn to generate customized testng.xml. Generation of testng.xml depends upon how you create it. We will see some scenarios in this post. Scenario 1: Generating testng.xml for an individual class.  We will take same example of previous post: You need to select individual class and do […]

TestNG Tutorials 6: How To Create and Run TestNG XML Of TestNG Class

Hello Folks, In last post, we ran our testng class as a TestNG test using “Run As” option. We can run it using testng.xml which we will learn in this post. After creating testng class, we need to generate a testng.xml which is very easy. We will take same example of previous post: Right click […]

TestNG Tutorials 5: How To Create And Run A TestNG Class

Hello Folks, In this post, we will see some basics implementation of TestNG. A class is called TestNG class if it has annotations provided by TestNG. TestNG provides an annotation called “Test” which you need to use for any method which has some business logic to verify. When you add this “Test” annotation, you DON’T […]

TestNG Tutorials 4: Why TestNG Is Called A Testing Framework?

Hello Folks, You might be asked in selenium interviews, “Why TestNG is called a testing framework?”. Why TestNg is called “Testing Framework“? TestNG, where NG stands for “Next Generation”. TestNG is a testing framework to perform unit, functional, end-to-end, integration, etc testing. This library helps you in writing automated tests. Suppose, you are launching a URL […]

Please wait...

Subscribe to new posts to become automation expert

Want to be notified when my new post is published? Get my posts in your inbox.