TestNG

TestNG Vs JUnit | Which one is the Best?

Reading Time: 5 minutes Hello Everyone, in this blog we will see the difference between TestNg and JUnit. TestNG Vs JUnit – What’s the Difference? TestNG and JUnit are two very popular terms spoken amongst the testers simply because they are used very heavily in the community. They are the most popular testing frameworks for Java applications. Both TestNG and Junit are Testing frameworks used for Unit Testing. Let’s Continue Reading

Automate Test with TestNG

Reading Time: 3 minutes In the previous tutorial we learn about What is Test Next Generation (TestNG) framework, Now it’s time for some hands-on experience of writing our first TestNG Test case. How to Create TestNG Class in Eclipse Follow below steps to create TestNG Class. Step 1: Navigate to src from the project folder and right-click the same. You will see TestNG as an option in the drop-down towards Continue Reading

Let’s Learn About TestNG Framework

Reading Time: 6 minutes In this tutorial my goal is to share knowledge regarding Test Next Generation (TestNG) TestNG is an open-source test automation framework for Java. It is develope on the same lines of JUnit and NUnit , Few advanced and useful features provided by TestNG makes it more robust framework compared to it’s peers.TestNG framework eliminates the limitations of the older framework by providing more powerful and Continue Reading

TestNG setup using Maven for Selenium

Reading Time: 3 minutes Definitions TestNG (Test Next Generationis) is an open source testing framework. TestNG is inspired from JUnit and NUnit. It is an improvised framework which makes it more powerful and easier. It provides the developer to write more powerful and flexible tests with the help of easy annotations, sequencing, grouping and parametrization. We can use TestNG for generating reports. The reports generated will be of two types pass and fail. Continue Reading

Test Automation Report with Allure and TestNG

Reading Time: 3 minutes It is time to deliver a test report to all the stakeholders who are interested in the quality of the application. After the completion of tests, report should be generated. The test automation report should be as clear as possible so that to be understood by everyone. So this blog will help you to have a Test Automation Report with Allure and TestNG. What is Allure Continue Reading

Test report for Rest Assured

Reading Time: 3 minutes Test report is generally a communication bridge between test manager and stakeholder. The stakeholder can understand the project situation with test report only. One of the use case will be evaluating the quality using test report. It is because you want to make decisions based on those reports for example if there are number of defects remaining the project, we simply not release the project. Continue Reading

TestNg Groups

Reading Time: 2 minutes Grouping is very good feature of testng. Its a next generation testing techniques. In previous blog we learn what is TestNg, how to execute Testng program etc. Now we explain how to make groups in testng. Benefits of grouping: Suppose we have 100 test methods in a single test class and we defined some high priority test methods and some low priority test methods.From these Continue Reading

TestNG

Reading Time: 2 minutes ‘TestNG is a testing framework which is inspired by junit. It is the latest framework of selenium. it gives to complete freedom to write the testcases in group or dependent to the other method. NG  stand for ‘NEXT GENERATION’. testing of next generation. TestNG gives the lot of advantage over the other testing framework. 1-we  can run the parallel test cases using TestNG. 2-It gives Continue Reading